Rel_sqlite3.Error
Errors.
The type for result codes. Rel_sqlite3
database connections exposes only extended result codes. See constants.
val code_to_string : code -> string
code_to_string c
is an english message for result code c
.
type t = error
The type for errors.
val message : t -> string
message e
is the error message of e
. This may be more precise than code_to_string
on e
's code, it is the result of sqlite3_errmsg
on the database connection that errored.
val abort_rollback : code
val busy_recovery : code
val busy_snapshot : code
val busy_timeout : code
val cantopen_convpath : code
val cantopen_dirtywal : code
val cantopen_fullpath : code
val cantopen_isdir : code
val cantopen_notempdir : code
val cantopen_symlink : code
val constraint_check : code
val constraint_commithook : code
val constraint_foreignkey : code
val constraint_function : code
val constraint_notnull : code
val constraint_pinned : code
val constraint_primarykey : code
val constraint_rowid : code
val constraint_trigger : code
val constraint_unique : code
val constraint_vtab : code
val corrupt_index : code
val corrupt_sequence : code
val corrupt_vtab : code
val error_missing_collseq : code
val error_retry : code
val error_snapshot : code
val ioerr_access : code
val ioerr_auth : code
val ioerr_begin_atomic : code
val ioerr_blocked : code
val ioerr_checkreservedlock : code
val ioerr_close : code
val ioerr_commit_atomic : code
val ioerr_convpath : code
val ioerr_data : code
val ioerr_delete : code
val ioerr_delete_noent : code
val ioerr_dir_close : code
val ioerr_dir_fsync : code
val ioerr_fstat : code
val ioerr_fsync : code
val ioerr_gettemppath : code
val ioerr_lock : code
val ioerr_mmap : code
val ioerr_nomem : code
val ioerr_rdlock : code
val ioerr_read : code
val ioerr_rollback_atomic : code
val ioerr_seek : code
val ioerr_shmlock : code
val ioerr_shmmap : code
val ioerr_shmopen : code
val ioerr_shmsize : code
val ioerr_short_read : code
val ioerr_truncate : code
val ioerr_unlock : code
val ioerr_vnode : code
val ioerr_write : code
val locked_vtab : code
val notice_recover_rollback : code
val notice_recover_wal : code
val ok_load_permanently : code
val readonly_cantinit : code
val readonly_cantlock : code
val readonly_dbmoved : code
val readonly_directory : code
val readonly_recovery : code
val readonly_rollback : code
val warning_autoindex : code