diff options
Diffstat (limited to 'lib/sqlalchemy/exceptions.py')
-rw-r--r-- | lib/sqlalchemy/exceptions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sqlalchemy/exceptions.py b/lib/sqlalchemy/exceptions.py index 2713fb754..6aeca3efc 100644 --- a/lib/sqlalchemy/exceptions.py +++ b/lib/sqlalchemy/exceptions.py @@ -24,6 +24,10 @@ class ArgumentError(SQLAlchemyError): """raised for all those conditions where invalid arguments are sent to constructed objects. This error generally corresponds to construction time state errors.""" pass + +class TimeoutError(SQLAlchemyError): + """raised when a connection pool times out on getting a connection""" + pass class FlushError(SQLAlchemyError): """raised when an invalid condition is detected upon a flush()""" |