Mobile Locker JavaScript SDK
    Preparing search index...

    Variable DatabaseErrorCodeConst

    DatabaseErrorCode: {
        InvalidPath: "invalid_database_path";
        NotConnected: "not_connected";
        NotReady: "databases_not_ready";
        QueryFailed: "query_failed";
        RequestTimeout: "request_timeout";
        ServerError: "server_error";
        WriteNotPermitted: "write_not_permitted";
    } = ...

    Error codes for SQLite database failures. Extends GeneralErrorCode.

    Type Declaration

    • ReadonlyInvalidPath: "invalid_database_path"

      The requested path is not in the presentation's allowed file list.

    • ReadonlyNotConnected: "not_connected"

      The device has no internet connection.

    • ReadonlyNotReady: "databases_not_ready"

      The databases are still being copied or opened after all retries.

    • ReadonlyQueryFailed: "query_failed"

      The SQL statement failed to execute.

    • ReadonlyRequestTimeout: "request_timeout"

      The request exceeded the configured timeout.

    • ReadonlyServerError: "server_error"

      The Mobile Locker server or an upstream API returned an unexpected error.

    • ReadonlyWriteNotPermitted: "write_not_permitted"

      The SQL statement is not a SELECT — write operations are not permitted.