Exception: JOR::NoResults

Inherits:
Error
  • Object
show all
Defined in:
lib/jor/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(doc) ⇒ NoResults

Returns a new instance of NoResults.



7
8
9
# File 'lib/jor/errors.rb', line 7

def initialize(doc)
  super %(no results found for "#{doc}")
end