Class: Aws::OpenSearchService::Errors::BaseException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::OpenSearchService::Errors::BaseException
- Defined in:
- lib/aws-sdk-opensearchservice/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BaseException
constructor
A new instance of BaseException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BaseException
Returns a new instance of BaseException.
65 66 67 |
# File 'lib/aws-sdk-opensearchservice/errors.rb', line 65 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
70 71 72 |
# File 'lib/aws-sdk-opensearchservice/errors.rb', line 70 def @message || @data[:message] end |