Class: Aws::Lambda::Errors::ResourceNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lambda::Errors::ResourceNotFoundException
- Defined in:
- gems/aws-sdk-lambda/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.
641 642 643 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 641 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
651 652 653 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 651 def @message || @data[:message] end |
#type ⇒ String
646 647 648 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 646 def type @data[:type] end |