Exception: Lotr::Sdk::Exception::InvalidIdError

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

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ InvalidIdError

Returns a new instance of InvalidIdError.



7
8
9
# File 'lib/lotr/sdk/exception/invalid_id_error.rb', line 7

def initialize(id)
  super("#{id} is an invalid ID. Provide a valid id")
end