bpo-31378: Document sqlite3.OperationalError exception (GH-7677)

This commit is contained in:
Zackery Spytz 2018-06-13 03:09:31 -06:00 committed by Berker Peksag
parent b9d8ad5130
commit 71ede00f14
1 changed files with 7 additions and 0 deletions

View File

@ -821,6 +821,13 @@ Exceptions
exists, syntax error in the SQL statement, wrong number of parameters
specified, etc. It is a subclass of :exc:`DatabaseError`.
.. exception:: OperationalError
Exception raised for errors that are related to the database's operation
and not necessarily under the control of the programmer, e.g. an unexpected
disconnect occurs, the data source name is not found, a transaction could
not be processed, etc. It is a subclass of :exc:`DatabaseError`.
.. _sqlite3-types: