Exception: MongoODM::Errors::DocumentNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- MongoODM::Errors::DocumentNotFound
- Defined in:
- lib/mongo_odm/errors.rb
Instance Method Summary collapse
-
#initialize(ids, klass) ⇒ DocumentNotFound
constructor
A new instance of DocumentNotFound.
Constructor Details
#initialize(ids, klass) ⇒ DocumentNotFound
Returns a new instance of DocumentNotFound.
24 25 26 |
# File 'lib/mongo_odm/errors.rb', line 24 def initialize(ids, klass) super "can't find document for class #{klass} with id(s) #{ids}" end |