Exception: JOR::InvalidDocumentId

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

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ InvalidDocumentId

Returns a new instance of InvalidDocumentId.



25
26
27
# File 'lib/jor/errors.rb', line 25

def initialize(id)
  super %(The document "_id" must be a positive integer (>=0), #{id} is not valid)
end