mirror of https://github.com/python/cpython
bpo-31378: Document sqlite3.OperationalError exception (GH-7677)
This commit is contained in:
parent
b9d8ad5130
commit
71ede00f14
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue