Class: Aws::Lex::Errors::UnsupportedMediaTypeException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lex::Errors::UnsupportedMediaTypeException
- Defined in:
- lib/aws-sdk-lex/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedMediaTypeException
constructor
A new instance of UnsupportedMediaTypeException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedMediaTypeException
Returns a new instance of UnsupportedMediaTypeException.
208 209 210 |
# File 'lib/aws-sdk-lex/errors.rb', line 208 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
213 214 215 |
# File 'lib/aws-sdk-lex/errors.rb', line 213 def @message || @data[:message] end |