exception documentation
class DisconnectionError(SQLAlchemyError): (source)
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 :meth:`_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 :class:`~sqlalchemy.exc.InvalidRequestError` regarding the connection attempt.
Class Variable | invalidate |
Undocumented |
Inherited from SQLAlchemyError
:
Method | __str__ |
Undocumented |
Method | _message |
Undocumented |
Method | _sql |
Undocumented |
Inherited from HasDescriptionCode
(via SQLAlchemyError
):
Method | __init__ |
Undocumented |
Instance Variable | code |
Undocumented |
Method | _code |
Undocumented |