exception documentation
class InvalidatePoolError(DisconnectionError): (source)
Raised when the connection pool should invalidate all stale connections. A subclass of :class:`_exc.DisconnectionError` that indicates that the disconnect situation encountered on the connection probably means the entire pool should be invalidated, as the database has been restarted. This exception will be handled otherwise the same way as :class:`_exc.DisconnectionError`, allowing three attempts to reconnect before giving up. .. versionadded:: 1.2
Class Variable | invalidate |
Undocumented |
Inherited from SQLAlchemyError
(via DisconnectionError
):
Method | __str__ |
Undocumented |
Method | _message |
Undocumented |
Method | _sql |
Undocumented |
Inherited from HasDescriptionCode
(via DisconnectionError
, SQLAlchemyError
):
Method | __init__ |
Undocumented |
Instance Variable | code |
Undocumented |
Method | _code |
Undocumented |