Class: Aws::RedshiftDataAPIService::Errors::ExecuteStatementException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::RedshiftDataAPIService::Errors::ExecuteStatementException
- Defined in:
- lib/aws-sdk-redshiftdataapiservice/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ExecuteStatementException
constructor
A new instance of ExecuteStatementException.
- #message ⇒ String
- #statement_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ExecuteStatementException
Returns a new instance of ExecuteStatementException.
116 117 118 |
# File 'lib/aws-sdk-redshiftdataapiservice/errors.rb', line 116 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
121 122 123 |
# File 'lib/aws-sdk-redshiftdataapiservice/errors.rb', line 121 def @message || @data[:message] end |
#statement_id ⇒ String
126 127 128 |
# File 'lib/aws-sdk-redshiftdataapiservice/errors.rb', line 126 def statement_id @data[:statement_id] end |