class DisconnectionError(SQLAlchemyError):
Known subclasses: sqlalchemy.exc.InvalidatePoolError
A disconnect is detected on a raw DB-API connection.
This error is raised and consumed internally by a connection pool. It can
be raised by the _events.PoolEvents.checkout
event so that the host pool
forces a retry; the exception will be caught three times in a row before
the pool gives up and raises ~sqlalchemy.exc.InvalidRequestError
regarding the connection attempt.
Class Variable | invalidate_pool |
Undocumented |
Inherited from SQLAlchemyError
:
Method | __str__ |
Undocumented |
Method | __unicode__ |
Undocumented |
Method | _message |
Undocumented |
Method | _sql_message |
Undocumented |
Inherited from HasDescriptionCode
(via SQLAlchemyError
):
Method | __init__ |
Undocumented |
Method | _code_str |
Undocumented |
Instance Variable | code |
Undocumented |