StandardError
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
# File lib/moped/errors.rb, line 50 def initialize(command, details) @command, @details = command, details super(build_message) end
Generated with the Darkfish Rdoc Generator 2.