Class: Aws::APIGateway::Errors::BadRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::APIGateway::Errors::BadRequestException
- Defined in:
- gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/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.
49 50 51 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/errors.rb', line 49 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
54 55 56 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/errors.rb', line 54 def @message || @data[:message] end |