Error Code Portal

Error code search

Search by code or error message to find official explanations and troubleshooting or diagnostic links.

4,836 codes·14 products·84 official documents

Search runs in your browser. The same number can have different meanings in different products.

Code list

4,836 results
CodeIssue and contextVendor and product
  • SyntaxWarning

    Base class for warnings about dubious syntax. This warning is typically emitted when compiling Python source code, and usually won’t be reported when running already compiled code.

    PythonPython
  • SystemError

    Raised when the interpreter finds an internal error, but the situation does not look so serious to cause it to abandon all hope. The associated value is a string indicating what went wrong (in low-level terms). In CPython, this could be raised by incorrectly using Python’s C API, such as returning a NULL value without an exception set. If you’re confident that this exception wasn’t your fault, or the fault of a package you’re using, you should report this to the author or maintainer of your Python interpreter. Be sure to report the version of the Python interpreter (sys.version; it is also printed at the start of an interactive Python session), the exact error message (the exception’s associated value) and if possible the source of the program that triggered the error.

    PythonPython
  • TabError

    Raised when indentation contains an inconsistent use of tabs and spaces. This is a subclass of IndentationError.

    PythonPython
  • TimeoutError

    Raised when a system function timed out at the system level. Corresponds to errno ETIMEDOUT.

    PythonPython
  • TypeError

    Raised when an operation or function is applied to an object of inappropriate type. The associated value is a string giving details about the type mismatch. This exception may be raised by user code to indicate that an attempted operation on an object is not supported, and is not meant to be. If an object is meant to support a given operation but has not yet provided an implementation, NotImplementedError is the proper exception to raise. Passing arguments of the wrong type (e.g. passing a list when an int is expected) should result in a TypeError, but passing arguments with the wrong value (e.g. a number outside expected boundaries) should result in a ValueError.

    PythonPython
  • UnboundLocalError

    Raised when a reference is made to a local variable in a function or method, but no value has been bound to that variable. This is a subclass of NameError.

    PythonPython
  • UnicodeDecodeError

    Raised when a Unicode-related error occurs during decoding. It is a subclass of UnicodeError.

    PythonPython
  • UnicodeEncodeError

    Raised when a Unicode-related error occurs during encoding. It is a subclass of UnicodeError.

    PythonPython
  • UnicodeError

    Raised when a Unicode-related encoding or decoding error occurs. It is a subclass of ValueError. UnicodeError has attributes that describe the encoding or decoding error. For example, err.object[err.start:err.end] gives the particular invalid input that the codec failed on.

    PythonPython
  • UnicodeTranslateError

    Raised when a Unicode-related error occurs during translating. It is a subclass of UnicodeError.

    PythonPython
  • UnicodeWarning

    Base class for warnings related to Unicode.

    PythonPython
  • UserWarning

    Base class for warnings generated by user code.

    PythonPython
  • ValueError

    Raised when an operation or function receives an argument that has the right type but an inappropriate value, and the situation is not described by a more precise exception such as IndexError.

    PythonPython
  • Warning

    Base class for warning categories.

    PythonPython
  • ZeroDivisionError

    Raised when the second argument of a division or modulo operation is zero. The associated value is a string indicating the type of the operands and the operation.

    PythonPython
  • abort

    The SQLITE_ABORT result code indicates that an operation was aborted prior to completion, usually by application request. See also: SQLITE_INTERRUPT. If the callback function to sqlite3_exec() returns non-zero, then sqlite3_exec() will return SQLITE_ABORT. If a ROLLBACK operation occurs on the same database connection as a pending read or write, then the pending read or write may fail with an SQLITE_ABORT or SQLITE_ABORT_ROLLBACK error. In addition to being a result code, the SQLITE_ABORT value is also used as a conflict resolution mode returned from the sqlite3_vtab_on_conflict() interface.

    SQLiteSQLite
  • abort rollback

    The SQLITE_ABORT_ROLLBACK error code is an extended error code for SQLITE_ABORT indicating that an SQL statement aborted because the transaction that was active when the SQL statement first started was rolled back. Pending write operations always fail with this error when a rollback occurs. A ROLLBACK will cause a pending read operation to fail only if the schema was changed within the transaction being rolled back.

    SQLiteSQLite
  • auth

    The SQLITE_AUTH error is returned when the authorizer callback indicates that an SQL statement being prepared is not authorized.

    SQLiteSQLite
  • auth user

    The SQLITE_AUTH_USER error code is an extended error code for SQLITE_AUTH indicating that an operation was attempted on a database for which the logged in user lacks sufficient authorization.

    SQLiteSQLite
  • busy

    The SQLITE_BUSY result code indicates that the database file could not be written (or in some cases read) because of concurrent activity by some other database connection, usually a database connection in a separate process. For example, if process A is in the middle of a large write transaction and at the same time process B attempts to start a new write transaction, process B will get back an SQLITE_BUSY result because SQLite only supports one writer at a time. Process B will need to wait for process A to finish its transaction before starting a new transaction. The sqlite3_busy_timeout() and sqlite3_busy_handler() interfaces and the busy_timeout pragma are available to process B to help it deal with SQLITE_BUSY errors. An SQLITE_BUSY error can occur at any point in a transaction: when the transaction is first started, during any write or update operations, or when the transaction commits. To avoid encountering SQLITE_BUSY errors in the middle of a transaction, the application can use BEGIN IMMEDIATE instead of just BEGIN to start a transaction. The BEGIN IMMEDIATE command might itself return SQLITE_BUSY, but if it succeeds, then SQLite guarantees that no subsequent operations on the same database through the next COMMIT will return SQLITE_BUSY. See also: SQLITE_BUSY_RECOVERY and SQLITE_BUSY_SNAPSHOT. The SQLITE_BUSY result code differs from SQLITE_LOCKED in that SQLITE_BUSY indicates a conflict with a separate database connection, probably in a separate process, whereas SQLITE_LOCKED indicates a conflict within the same database connection (or sometimes a database connection with a shared cache).

    SQLiteSQLite
  • busy recovery

    The SQLITE_BUSY_RECOVERY error code is an extended error code for SQLITE_BUSY that indicates that an operation could not continue because another process is busy recovering a WAL mode database file following a crash. The SQLITE_BUSY_RECOVERY error code only occurs on WAL mode databases.

    SQLiteSQLite
  • busy snapshot

    The SQLITE_BUSY_SNAPSHOT error code is an extended error code for SQLITE_BUSY that occurs on WAL mode databases when a database connection tries to promote a read transaction into a write transaction but finds that another database connection has already written to the database and thus invalidated prior reads. The following scenario illustrates how an SQLITE_BUSY_SNAPSHOT error might arise:

    SQLiteSQLite
  • busy timeout

    The SQLITE_BUSY_TIMEOUT error code indicates that a blocking Posix advisory file lock request in the VFS layer failed due to a timeout. Blocking Posix advisory locks are only available as a proprietary SQLite extension and even then are only supported if SQLite is compiled with the SQLITE_ENABLE_SETLK_TIMEOUT compile-time option.

    SQLiteSQLite
  • cantopen

    The SQLITE_CANTOPEN result code indicates that SQLite was unable to open a file. The file in question might be a primary database file or one of several temporary disk files.

    SQLiteSQLite
  • cantopen convpath

    The SQLITE_CANTOPEN_CONVPATH error code is an extended error code for SQLITE_CANTOPEN used only by Cygwin VFS and indicating that the cygwin_conv_path() system call failed while trying to open a file. See also: SQLITE_IOERR_CONVPATH

    SQLiteSQLite
  • cantopen dirtywal

    The SQLITE_CANTOPEN_DIRTYWAL result code is not used at this time.

    SQLiteSQLite
  • cantopen fullpath

    The SQLITE_CANTOPEN_FULLPATH error code is an extended error code for SQLITE_CANTOPEN indicating that a file open operation failed because the operating system was unable to convert the filename into a full pathname.

    SQLiteSQLite
  • cantopen isdir

    The SQLITE_CANTOPEN_ISDIR error code is an extended error code for SQLITE_CANTOPEN indicating that a file open operation failed because the file is really a directory.

    SQLiteSQLite
  • cantopen notempdir

    The SQLITE_CANTOPEN_NOTEMPDIR error code is no longer used.

    SQLiteSQLite
  • cantopen symlink

    The SQLITE_CANTOPEN_SYMLINK result code is returned by the sqlite3_open() interface and its siblings when the SQLITE_OPEN_NOFOLLOW flag is used and the database file is a symbolic link.

    SQLiteSQLite
  • constraint

    The SQLITE_CONSTRAINT error code means that an SQL constraint violation occurred while trying to process an SQL statement. Additional information about the failed constraint can be found by consulting the accompanying error message (returned via sqlite3_errmsg() or sqlite3_errmsg16()) or by looking at the extended error code. The SQLITE_CONSTRAINT code can also be used as the return value from the xBestIndex() method of a virtual table implementation. When xBestIndex() returns SQLITE_CONSTRAINT, that indicates that the particular combination of inputs submitted to xBestIndex() cannot result in a usable query plan and should not be given further consideration.

    SQLiteSQLite
  • constraint check

    The SQLITE_CONSTRAINT_CHECK error code is an extended error code for SQLITE_CONSTRAINT indicating that a CHECK constraint failed.

    SQLiteSQLite
  • constraint commithook

    The SQLITE_CONSTRAINT_COMMITHOOK error code is an extended error code for SQLITE_CONSTRAINT indicating that a commit hook callback returned non-zero that thus caused the SQL statement to be rolled back.

    SQLiteSQLite
  • constraint datatype

    The SQLITE_CONSTRAINT_DATATYPE error code is an extended error code for SQLITE_CONSTRAINT indicating that an insert or update attempted to store a value inconsistent with the column's declared type in a table defined as STRICT.

    SQLiteSQLite
  • constraint foreignkey

    The SQLITE_CONSTRAINT_FOREIGNKEY error code is an extended error code for SQLITE_CONSTRAINT indicating that a foreign key constraint failed.

    SQLiteSQLite
  • constraint function

    The SQLITE_CONSTRAINT_FUNCTION error code is not currently used by the SQLite core. However, this error code is available for use by extension functions.

    SQLiteSQLite
  • constraint notnull

    The SQLITE_CONSTRAINT_NOTNULL error code is an extended error code for SQLITE_CONSTRAINT indicating that a NOT NULL constraint failed.

    SQLiteSQLite
  • constraint pinned

    The SQLITE_CONSTRAINT_PINNED error code is an extended error code for SQLITE_CONSTRAINT indicating that an UPDATE trigger attempted to delete the row that was being updated in the middle of the update.

    SQLiteSQLite
  • constraint primarykey

    The SQLITE_CONSTRAINT_PRIMARYKEY error code is an extended error code for SQLITE_CONSTRAINT indicating that a PRIMARY KEY constraint failed.

    SQLiteSQLite
  • constraint rowid

    The SQLITE_CONSTRAINT_ROWID error code is an extended error code for SQLITE_CONSTRAINT indicating that a rowid is not unique.

    SQLiteSQLite

Codes by vendor