Class: Aws::RedshiftDataAPIService::Errors::DatabaseConnectionException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::RedshiftDataAPIService::Errors::DatabaseConnectionException
- Defined in:
- lib/aws-sdk-redshiftdataapiservice/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DatabaseConnectionException
constructor
A new instance of DatabaseConnectionException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DatabaseConnectionException
Returns a new instance of DatabaseConnectionException.
101 102 103 |
# File 'lib/aws-sdk-redshiftdataapiservice/errors.rb', line 101 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
106 107 108 |
# File 'lib/aws-sdk-redshiftdataapiservice/errors.rb', line 106 def @message || @data[:message] end |