Class: Aws::Amplify::Errors::BadRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Amplify::Errors::BadRequestException
- Defined in:
- gems/aws-sdk-amplify/lib/aws-sdk-amplify/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-amplify/lib/aws-sdk-amplify/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-amplify/lib/aws-sdk-amplify/errors.rb', line 54 def @message || @data[:message] end |