Exception: JOR::InvalidDocumentId
- Defined in:
- lib/jor/errors.rb
Instance Method Summary collapse
-
#initialize(id) ⇒ InvalidDocumentId
constructor
A new instance of InvalidDocumentId.
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 |