Exception: Pangea::Errors::ResourceNotFoundError
- Inherits:
-
PangeaError
- Object
- StandardError
- PangeaError
- Pangea::Errors::ResourceNotFoundError
- Defined in:
- lib/pangea/errors.rb
Instance Attribute Summary
Attributes inherited from PangeaError
#cause_chain, #context, #timestamp
Class Method Summary collapse
Methods inherited from PangeaError
#detailed_message, #initialize, #to_h
Constructor Details
This class inherits a constructor from Pangea::Errors::PangeaError
Class Method Details
.new(resource_type, resource_name) ⇒ Object
118 119 120 121 |
# File 'lib/pangea/errors.rb', line 118 def self.new(resource_type, resource_name) super("Resource not found: #{resource_type}.#{resource_name}", context: { resource_type: resource_type, resource_name: resource_name }) end |