Class: Aws::LexModelBuildingService::Errors::BadRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::LexModelBuildingService::Errors::BadRequestException
- Defined in:
- lib/aws-sdk-lexmodelbuildingservice/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.
65 66 67 |
# File 'lib/aws-sdk-lexmodelbuildingservice/errors.rb', line 65 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
70 71 72 |
# File 'lib/aws-sdk-lexmodelbuildingservice/errors.rb', line 70 def @message || @data[:message] end |