Class: Aws::Lambda::Errors::UnsupportedMediaTypeException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lambda::Errors::UnsupportedMediaTypeException
- Defined in:
- lib/aws-sdk-lambda/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedMediaTypeException
constructor
A new instance of UnsupportedMediaTypeException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedMediaTypeException
Returns a new instance of UnsupportedMediaTypeException.
961 962 963 |
# File 'lib/aws-sdk-lambda/errors.rb', line 961 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
971 972 973 |
# File 'lib/aws-sdk-lambda/errors.rb', line 971 def || @data[:message] end |
#type ⇒ String
966 967 968 |
# File 'lib/aws-sdk-lambda/errors.rb', line 966 def type @data[:type] end |