Class | Moped::Errors::PotentialReconfiguration |
In: |
lib/moped/errors.rb
|
Parent: | MongoError |
Classes of errors that could be caused by a replica set reconfiguration.
NOT_MASTER | = | [ 13435, 13436, 10009, 15986, 83 ] | Not master error codes. | |
CONNECTION_ERRORS_RECONFIGURATION | = | [ 15988, 10276, 11600, 9001, 13639, 10009, 11002, 7 ] | Error codes received around reconfiguration |
Is the error due to a namespace not existing?
@example Doest the namespace not exist?
error.ns_not_exists?
@return [ true, false ] If the namespace was not found.
@since 2.0.0
Is the error due to a namespace not being found?
@example Is the namespace not found?
error.ns_not_found?
@return [ true, false ] If the namespace was not found.
@since 2.0.0