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