MobileLockerDatabaseError
Defined in: errors.ts:115
Thrown by mobilelocker.database.* methods on SQLite failures.
Check code against DatabaseErrorCode constants to distinguish
path errors, write attempts, and query failures.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new MobileLockerDatabaseError( message, code, sqliteMessage?): MobileLockerDatabaseError;Defined in: errors.ts:120
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
message |
string |
code |
DatabaseErrorCode |
sqliteMessage? |
string |
Returns
Section titled “Returns”MobileLockerDatabaseError
Overrides
Section titled “Overrides”Properties
Section titled “Properties”readonly code: DatabaseErrorCode;Defined in: errors.ts:116
Machine-readable error code. Prefer the *ErrorCode constants for comparisons.
Overrides
Section titled “Overrides”sqliteMessage?
Section titled “sqliteMessage?”readonly optional sqliteMessage?: string;Defined in: errors.ts:118
The raw SQLite error message, if available.