Class: Mongo::Error::InvalidFileRevision
- Inherits:
-
Error
- Object
- Error
- Mongo::Error::InvalidFileRevision
- Defined in:
- lib/mongo/error/invalid_file_revision.rb
Overview
Raised if the requested file revision is not found.
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 |