Class: Aws::WorkMail::Errors::MailDomainStateException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::WorkMail::Errors::MailDomainStateException
- Defined in:
- lib/aws-sdk-workmail/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MailDomainStateException
constructor
A new instance of MailDomainStateException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MailDomainStateException
Returns a new instance of MailDomainStateException.
274 275 276 |
# File 'lib/aws-sdk-workmail/errors.rb', line 274 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
279 280 281 |
# File 'lib/aws-sdk-workmail/errors.rb', line 279 def @message || @data[:message] end |