Exception: Toy::NotFound

Inherits:
Error show all
Defined in:
lib/toy/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ NotFound

Returns a new instance of NotFound.



15
16
17
# File 'lib/toy/exceptions.rb', line 15

def initialize(*args)
  super("Could not find document with: #{args.inspect}")
end