Class: Aws::WorkMail::Errors::OrganizationStateException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::WorkMail::Errors::OrganizationStateException
- Defined in:
- lib/aws-sdk-workmail/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OrganizationStateException
constructor
A new instance of OrganizationStateException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OrganizationStateException
Returns a new instance of OrganizationStateException.
319 320 321 |
# File 'lib/aws-sdk-workmail/errors.rb', line 319 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
324 325 326 |
# File 'lib/aws-sdk-workmail/errors.rb', line 324 def @message || @data[:message] end |