summaryrefslogtreecommitdiffstats
path: root/Doc/library/sqlite3.rst
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2018-06-13 09:09:31 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2018-06-13 09:09:31 (GMT)
commit71ede00f140fa6b67a8ac17df68b80079efa8dc2 (patch)
tree530babbd89dad18c177e17a05c3043ce14aa4ba4 /Doc/library/sqlite3.rst
parentb9d8ad5130e0f77be28a3dec6d468e6470835573 (diff)
downloadcpython-71ede00f140fa6b67a8ac17df68b80079efa8dc2.zip
cpython-71ede00f140fa6b67a8ac17df68b80079efa8dc2.tar.gz
cpython-71ede00f140fa6b67a8ac17df68b80079efa8dc2.tar.bz2
bpo-31378: Document sqlite3.OperationalError exception (GH-7677)
Diffstat (limited to 'Doc/library/sqlite3.rst')
-rw-r--r--Doc/library/sqlite3.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index d7eaea6..7d3cab9 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -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: