| Module | Mongo::Error::SdamErrorDetection |
| In: |
lib/mongo/error/sdam_error_detection.rb
|
@note Although not_master? and node_recovering? methods of this module
are part of the public API, the fact that these methods are defined on this module and not on the classes which include this module is not part of the public API.
@api semipublic
| NOT_MASTER_CODES | = | [10107, 13435].freeze | @api private | |
| NODE_RECOVERING_CODES | = | [11600, 11602, 13436, 189, 91].freeze | @api private |
Whether the error is a "node is recovering" error, or one of its variants.
@return [ true | false ] Whether the error is a node is recovering.
@since 2.8.0