Class Mongo::MongoDBError
In: lib/mongo/exceptions.rb
Parent: RuntimeError

Raised when MongoDB itself has returned an error.

Methods

new  

Attributes

error_code  [R]  @return The failed command‘s error code, if availab.e
result  [R]  @return The entire failed command‘s response object, if available.

Public Class methods

[Validate]