Class Mongo::Error::InvalidUpdateDocument
In: lib/mongo/error/invalid_update_document.rb
Parent: Error

Exception raised if the object is not a valid update document.

@since 2.0.0

Methods

new  

Constants

MESSAGE = 'Invalid update document provided'.freeze   The error message.

@since 2.0.0

Public Class methods

Instantiate the new exception.

@example Instantiate the exception.

  Mongo::Error::InvalidUpdateDocument.new

@since 2.0.0

[Validate]