Exception: Lotr::Sdk::Exception::ResourceNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/lotr/sdk/exception/resource_not_found_error.rb

Instance Method Summary collapse

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