Class: Aws::ElasticsearchService::Errors::BaseException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ElasticsearchService::Errors::BaseException
- Defined in:
- lib/aws-sdk-elasticsearchservice/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.
63 64 65 |
# File 'lib/aws-sdk-elasticsearchservice/errors.rb', line 63 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
68 69 70 |
# File 'lib/aws-sdk-elasticsearchservice/errors.rb', line 68 def @message || @data[:message] end |