Class Mongo::Error::InvalidFile
In: lib/mongo/error/invalid_file.rb
Parent: Error

Raised if the file md5 and server md5 do not match when acknowledging GridFS writes.

@since 2.0.0

Methods

new  

Public Class methods

Create the new exception.

@example Create the new exception.

  Mongo::Error::InvalidFile.new(file_md5, server_md5)

@param [ String ] client_md5 The client side file md5. @param [ String ] server_md5 The server side file md5.

@since 2.0.0

[Validate]