Class: Aws::States::Errors::ResourceNotFound
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::States::Errors::ResourceNotFound
- Defined in:
- lib/aws-sdk-states/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFound
constructor
A new instance of ResourceNotFound.
- #message ⇒ String
- #resource_name ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceNotFound
Returns a new instance of ResourceNotFound.
291 292 293 |
# File 'lib/aws-sdk-states/errors.rb', line 291 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
296 297 298 |
# File 'lib/aws-sdk-states/errors.rb', line 296 def @message || @data[:message] end |
#resource_name ⇒ String
301 302 303 |
# File 'lib/aws-sdk-states/errors.rb', line 301 def resource_name @data[:resource_name] end |