Class: Aws::AmplifyBackend::Errors::BadRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::AmplifyBackend::Errors::BadRequestException
- Defined in:
- gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/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.
46 47 48 |
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/errors.rb', line 46 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
51 52 53 |
# File 'gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/errors.rb', line 51 def @message || @data[:message] end |