Generic error class for exceptions generated on the remote MongoDB server.
Create a new operation failure exception.
@example Create the new error.
MongoError.new(command, details)
@param [ Object ] command The command that generated the error. @param [ Hash ] details The details about the error.
@since 1.0.0
[Validate]