Class: Mongo::Error::InvalidDocument
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Error
|
|
|
Instance Chain:
self,
Error
|
|
| Inherits: |
Error
|
| Defined in: | lib/mongo/error/invalid_document.rb |
Overview
Exception raised if the object is not a valid document.
Constant Summary
-
MESSAGE =
# File 'lib/mongo/error/invalid_document.rb', line 26
The error message.
'Invalid document provided.'
Class Method Summary
-
.new ⇒ InvalidDocument
constructor
Instantiate the new exception.
Constructor Details
.new ⇒ InvalidDocument
Instantiate the new exception.
# File 'lib/mongo/error/invalid_document.rb', line 34
def initialize super(MESSAGE) end