DbResult Enumeration

Values for return codes from BeSQLite functions. Consult SQLite documentation for further explanations.

Members

Name Value Description
BE_SQLITE_ABORT Callback routine requested an abort
BE_SQLITE_ABORT_ROLLBACK  
BE_SQLITE_AUTH Authorization denied
BE_SQLITE_BUSY The database file is locked
BE_SQLITE_BUSY_RECOVERY  
BE_SQLITE_CANTOPEN Unable to open the database file
BE_SQLITE_CANTOPEN_FULLPATH  
BE_SQLITE_CANTOPEN_ISDIR  
BE_SQLITE_CANTOPEN_NOTEMPDIR  
BE_SQLITE_CONSTRAINT_BASE Abort due to constraint violation. See extended error values.
BE_SQLITE_CONSTRAINT_CHECK  
BE_SQLITE_CONSTRAINT_COMMITHOOK  
BE_SQLITE_CONSTRAINT_FOREIGNKEY  
BE_SQLITE_CONSTRAINT_FUNCTION  
BE_SQLITE_CONSTRAINT_NOTNULL  
BE_SQLITE_CONSTRAINT_PRIMARYKEY  
BE_SQLITE_CONSTRAINT_TRIGGER  
BE_SQLITE_CONSTRAINT_UNIQUE  
BE_SQLITE_CONSTRAINT_VTAB  
BE_SQLITE_CORRUPT The database disk image is malformed
BE_SQLITE_CORRUPT_VTAB  
BE_SQLITE_DONE Step() has finished executing
BE_SQLITE_EMPTY Database is empty
BE_SQLITE_ERROR SQL error or missing database
BE_SQLITE_ERROR_AlreadyOpen attempt to open a BeSQLite::Db that is already in use somewhere.
BE_SQLITE_ERROR_BadDbProfile wrong BeSQLite profile version
BE_SQLITE_ERROR_ChangeTrackError attempt to commit with active changetrack
BE_SQLITE_ERROR_CouldNotAcquireLocksOrCodes Error acquiring locks or codes
BE_SQLITE_ERROR_DataTransformRequired schema update require data transform
BE_SQLITE_ERROR_FileExists attempt to create a new file when a file by that name already exists
BE_SQLITE_ERROR_FileNotFound the database name is not a file.
BE_SQLITE_ERROR_InvalidChangeSetVersion invalid version of the revision file is being imported
BE_SQLITE_ERROR_InvalidProfileVersion Profile of file could not be determined.
BE_SQLITE_ERROR_NoPropertyTable attempt to open a BeSQLite::Db that doesn't have a property table.
BE_SQLITE_ERROR_NoTxnActive there is no transaction active and the database was opened with AllowImplicitTransactions=false
BE_SQLITE_ERROR_ProfileTooNew Profile of file is too new. Therefore file cannot be opened.
BE_SQLITE_ERROR_ProfileTooNewForReadWrite Profile of file is too new for read-write access. Therefore file can only be opened read-only.
BE_SQLITE_ERROR_ProfileTooOld Profile of file is too old. Therefore file cannot be opened.
BE_SQLITE_ERROR_ProfileTooOldForReadWrite Profile of file is too old. Therefore file can only be opened read-only.
BE_SQLITE_ERROR_ProfileUpgradeFailed Upgrade of profile of file failed.
BE_SQLITE_ERROR_SchemaImportFailed Error importing the schemas into the database.
BE_SQLITE_ERROR_SchemaLockFailed Error acquiring a lock on the schemas before upgrade.
BE_SQLITE_ERROR_SchemaTooNew The schemas found in the database are too new, and the application needs to be upgraded.
BE_SQLITE_ERROR_SchemaTooOld The schemas found in the database are too old, and the DgnDb needs to be upgraded.
BE_SQLITE_ERROR_SchemaUpgradeFailed Error upgrading the schemas in the database.
BE_SQLITE_ERROR_SchemaUpgradeRecommended Recommended that the schemas found in the database be upgraded
BE_SQLITE_ERROR_SchemaUpgradeRequired The schemas found in the database need to be upgraded
BE_SQLITE_FORMAT Auxiliary database format error
BE_SQLITE_FULL Insertion failed because database is full or write operation failed because disk is full
BE_SQLITE_INTERNAL Internal logic error
BE_SQLITE_INTERRUPT Operation terminated by interrupt
BE_SQLITE_IOERR Some kind of disk I/O error occurred
BE_SQLITE_IOERR_ACCESS  
BE_SQLITE_IOERR_BLOCKED  
BE_SQLITE_IOERR_CHECKRESERVEDLOCK  
BE_SQLITE_IOERR_CLOSE  
BE_SQLITE_IOERR_DELETE  
BE_SQLITE_IOERR_DELETE_NOENT  
BE_SQLITE_IOERR_DIR_CLOSE  
BE_SQLITE_IOERR_DIR_FSYNC  
BE_SQLITE_IOERR_FSTAT  
BE_SQLITE_IOERR_FSYNC  
BE_SQLITE_IOERR_LOCK  
BE_SQLITE_IOERR_NOMEM  
BE_SQLITE_IOERR_RDLOCK  
BE_SQLITE_IOERR_READ  
BE_SQLITE_IOERR_SEEK  
BE_SQLITE_IOERR_SHMLOCK  
BE_SQLITE_IOERR_SHMMAP  
BE_SQLITE_IOERR_SHMOPEN  
BE_SQLITE_IOERR_SHMSIZE  
BE_SQLITE_IOERR_SHORT_READ  
BE_SQLITE_IOERR_TRUNCATE  
BE_SQLITE_IOERR_UNLOCK  
BE_SQLITE_IOERR_WRITE  
BE_SQLITE_LOCKED A table in the database is locked
BE_SQLITE_LOCKED_SHAREDCACHE  
BE_SQLITE_MISMATCH Data type mismatch
BE_SQLITE_MISUSE Library used incorrectly
BE_SQLITE_NOLFS Uses OS features not supported on host
BE_SQLITE_NOMEM A malloc() failed
BE_SQLITE_NOTADB File opened that is not a database file
BE_SQLITE_NOTFOUND NOT USED. Table or record not found
BE_SQLITE_OK Success
BE_SQLITE_PERM Access permission denied
BE_SQLITE_PROTOCOL Database lock protocol error
BE_SQLITE_RANGE 2nd parameter to Bind out of range
BE_SQLITE_READONLY Attempt to write a readonly database
BE_SQLITE_READONLY_CANTLOCK  
BE_SQLITE_READONLY_RECOVERY  
BE_SQLITE_READONLY_ROLLBACK  
BE_SQLITE_ROW Step() has another row ready
BE_SQLITE_SCHEMA The database schema changed
BE_SQLITE_TOOBIG String or BLOB exceeds size limit

Defined in

Last Updated: 28 March, 2024