Class: Aws::RDSDataService::Errors::BadRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::RDSDataService::Errors::BadRequestException
- Defined in:
- lib/aws-sdk-rdsdataservice/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BadRequestException
constructor
A new instance of BadRequestException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BadRequestException
Returns a new instance of BadRequestException.
73 74 75 |
# File 'lib/aws-sdk-rdsdataservice/errors.rb', line 73 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
78 79 80 |
# File 'lib/aws-sdk-rdsdataservice/errors.rb', line 78 def @message || @data[:message] end |