exception documentation

class InvalidatePoolError(DisconnectionError): (source)

View In Hierarchy

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_pool Undocumented

Inherited from SQLAlchemyError (via DisconnectionError):

Method __str__ Undocumented
Method _message Undocumented
Method _sql_message Undocumented

Inherited from HasDescriptionCode (via DisconnectionError, SQLAlchemyError):

Method __init__ Undocumented
Instance Variable code Undocumented
Method _code_str Undocumented