RuntimeError
Raised when MongoDB itself has returned an error.
@return The failed command’s error code, if availab.e
@return The entire failed command’s response object, if available.
# File lib/mongo/exceptions.rb, line 32 def initialize(message=nil, error_code=nil, result=nil) @error_code = error_code @result = result super(message) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.