Class: Aws::DirectoryService::Errors::OrganizationsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::DirectoryService::Errors::OrganizationsException
- Defined in:
- lib/aws-sdk-directoryservice/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OrganizationsException
constructor
A new instance of OrganizationsException.
- #message ⇒ String
- #request_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OrganizationsException
Returns a new instance of OrganizationsException.
639 640 641 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 639 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
644 645 646 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 644 def @message || @data[:message] end |
#request_id ⇒ String
649 650 651 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 649 def request_id @data[:request_id] end |