Class: Aws::Lambda::Errors::ResourceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lambda::Errors::ResourceNotFoundException
- Defined in:
- lib/aws-sdk-lambda/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
constructor
A new instance of ResourceNotFoundException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFoundException
Returns a new instance of ResourceNotFoundException.
665 666 667 |
# File 'lib/aws-sdk-lambda/errors.rb', line 665 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
675 676 677 |
# File 'lib/aws-sdk-lambda/errors.rb', line 675 def @message || @data[:message] end |
#type ⇒ String
670 671 672 |
# File 'lib/aws-sdk-lambda/errors.rb', line 670 def type @data[:type] end |