OpenQuizz
Une application de gestion des contenus pédagogiques
AutoReconnect Class Reference
Inheritance diagram for AutoReconnect:
Collaboration diagram for AutoReconnect:

Public Member Functions

def __init__ (self, message='', errors=None)
 
- Public Member Functions inherited from PyMongoError
def has_error_label (self, label)
 
def __str__ (self)
 
def __unicode__ (self)
 

Data Fields

 errors
 
 details
 

Detailed Description

Raised when a connection to the database is lost and an attempt to
auto-reconnect will be made.

In order to auto-reconnect you must handle this exception, recognizing that
the operation which caused it has not necessarily succeeded. Future
operations will attempt to open a new connection to the database (and
will continue to raise this exception until the first successful
connection is made).

Subclass of :exc:`~pymongo.errors.ConnectionFailure`.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  message = '',
  errors = None 
)

Reimplemented from PyMongoError.

Reimplemented in NotMasterError.

Field Documentation

◆ details

details

◆ errors

errors

The documentation for this class was generated from the following file: