mirror of
https://github.com/python/cpython.git
synced 2026-04-28 14:50:59 +00:00
bpo-31378: Document sqlite3.OperationalError exception (GH-7677)
(cherry picked from commit 71ede00f14)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
This commit is contained in:
parent
439a9b6998
commit
961332dfd3
1 changed files with 7 additions and 0 deletions
|
|
@ -764,6 +764,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…
Add table
Add a link
Reference in a new issue