Class: Mongo::Error::FileNotFound
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Error
|
|
|
Instance Chain:
self,
Error
|
|
| Inherits: |
Error
|
| Defined in: | lib/mongo/error/file_not_found.rb |
Overview
Raised if a file is deleted from a GridFS but it is not found.
Class Method Summary
-
.new(value, property) ⇒ FileNotFound
constructor
Create the new exception.
Constructor Details
.new(value, property) ⇒ FileNotFound
Create the new exception.
# File 'lib/mongo/error/file_not_found.rb', line 32
def initialize(value, property) super("File with #{property} '#{value}' not found.") end