Class: Aws::CloudWatch::Errors::ResourceNotFound
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudWatch::Errors::ResourceNotFound
- Defined in:
- lib/aws-sdk-cloudwatch/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFound
constructor
A new instance of ResourceNotFound.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFound
Returns a new instance of ResourceNotFound.
215 216 217 |
# File 'lib/aws-sdk-cloudwatch/errors.rb', line 215 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
220 221 222 |
# File 'lib/aws-sdk-cloudwatch/errors.rb', line 220 def @message || @data[:message] end |