SQLiteException

open class SQLiteException(val result: SqliteResultCode.Failure, val message: String) : RuntimeException(source)

Exception resulting from a call to an SQLite API that failed, returning a non-successful result code.

This exception can also be thrown in an SQLite callback, the result and the error message are then forwarded to SQLite.

The helper function throwSQLiteException can be used to construct and throw an instance of SQLiteException.

Constructors

Link copied to clipboard
constructor(result: SqliteResultCode.Failure, message: String)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
open override val message: String
Link copied to clipboard

The result returned by the API call that failed.