Exception: JOR::DocumentIdAlreadyExists
- Defined in:
- lib/jor/errors.rb
Instance Method Summary collapse
-
#initialize(id, name) ⇒ DocumentIdAlreadyExists
constructor
A new instance of DocumentIdAlreadyExists.
Constructor Details
#initialize(id, name) ⇒ DocumentIdAlreadyExists
Returns a new instance of DocumentIdAlreadyExists.
31 32 33 |
# File 'lib/jor/errors.rb', line 31 def initialize(id, name) super %(A document with _id #{id} already exists in collection "{name}") end |