Exception: Mongo::Error::InvalidFileRevision
- Inherits:
-
Mongo::Error
- Object
- StandardError
- Mongo::Error
- Mongo::Error::InvalidFileRevision
- Defined in:
- lib/mongo/error/invalid_file_revision.rb
Overview
Raised if the requested file revision is not found.
Constant Summary
Constants inherited from Mongo::Error
BAD_VALUE, CODE, ERR, ERRMSG, ERROR, UNKNOWN_ERROR, WRITE_CONCERN_ERROR, WRITE_CONCERN_ERRORS, WRITE_ERRORS
Instance Method Summary collapse
-
#initialize(filename, revision) ⇒ InvalidFileRevision
constructor
Create the new exception.
Constructor Details
#initialize(filename, revision) ⇒ InvalidFileRevision
Create the new exception.
32 33 34 |
# File 'lib/mongo/error/invalid_file_revision.rb', line 32 def initialize(filename, revision) super("No revision #{revision} found for file '#{filename}'.") end |