class Mongo::Error::InvalidReplacementDocument
Exception raised if the object is not a valid replacement document.
@since 2.0.0
Constants
- MESSAGE
-
The error message.
@since 2.0.0
Public Class Methods
Source
# File lib/mongo/error/invalid_replacement_document.rb, line 34 def initialize super(MESSAGE) end
Instantiate the new exception.
@example Instantiate the exception.
Mongo::Error::InvalidReplacementDoc.new
@since 2.0.0
Calls superclass method
Mongo::Error::new