Class Mongo::Error::InvalidReplacementDocument
In: lib/mongo/error/invalid_replacement_document.rb
Parent: Error

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

@since 2.0.0

Methods

new  

Constants

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

@since 2.0.0

Public Class methods

Instantiate the new exception.

@example Instantiate the exception.

  Mongo::Error::InvalidReplacementDoc.new

@since 2.0.0

[Validate]