Class: Aws::WorkMail::Errors::NameAvailabilityException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::WorkMail::Errors::NameAvailabilityException
- Defined in:
- lib/aws-sdk-workmail/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NameAvailabilityException
constructor
A new instance of NameAvailabilityException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NameAvailabilityException
Returns a new instance of NameAvailabilityException.
289 290 291 |
# File 'lib/aws-sdk-workmail/errors.rb', line 289 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
294 295 296 |
# File 'lib/aws-sdk-workmail/errors.rb', line 294 def @message || @data[:message] end |