Exception: Lotr::Sdk::Exception::ResourceNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Lotr::Sdk::Exception::ResourceNotFoundError
- Defined in:
- lib/lotr/sdk/exception/resource_not_found_error.rb
Instance Method Summary collapse
-
#initialize(resource_type, id) ⇒ ResourceNotFoundError
constructor
A new instance of ResourceNotFoundError.
Constructor Details
#initialize(resource_type, id) ⇒ ResourceNotFoundError
Returns a new instance of ResourceNotFoundError.
7 8 9 |
# File 'lib/lotr/sdk/exception/resource_not_found_error.rb', line 7 def initialize(resource_type, id) super("Could not find #{resource_type} quote with id: #{id}. Check your ID and try again or provide a valid ID") end |