From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 13 Jun 2018 09:30:09 +0000 (-0700) Subject: bpo-31378: Document sqlite3.OperationalError exception (GH-7677) X-Git-Tag: v3.6.7rc1~289 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=961332dfd3dbff4c63ed4d9f8b5de937aa63475b;p=python bpo-31378: Document sqlite3.OperationalError exception (GH-7677) (cherry picked from commit 71ede00f140fa6b67a8ac17df68b80079efa8dc2) Co-authored-by: Zackery Spytz --- diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index ef0c0bf64c..b9ec24a655 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -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: