Class: Aws::Lambda::Errors::ResourceInUseException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lambda::Errors::ResourceInUseException
- Defined in:
- lib/aws-sdk-lambda/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceInUseException
constructor
A new instance of ResourceInUseException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceInUseException
Returns a new instance of ResourceInUseException.
645 646 647 |
# File 'lib/aws-sdk-lambda/errors.rb', line 645 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
655 656 657 |
# File 'lib/aws-sdk-lambda/errors.rb', line 655 def @message || @data[:message] end |
#type ⇒ String
650 651 652 |
# File 'lib/aws-sdk-lambda/errors.rb', line 650 def type @data[:type] end |