Class: Aws::Lex::Errors::BadGatewayException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lex::Errors::BadGatewayException
- Defined in:
- lib/aws-sdk-lex/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BadGatewayException
constructor
A new instance of BadGatewayException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BadGatewayException
Returns a new instance of BadGatewayException.
53 54 55 |
# File 'lib/aws-sdk-lex/errors.rb', line 53 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
58 59 60 |
# File 'lib/aws-sdk-lex/errors.rb', line 58 def @message || @data[:message] end |