SQLITE_READONLY_CANTLOCK constant
        
        int
        const SQLITE_READONLY_CANTLOCK
        
      
      
The SQLITE_READONLY_CANTLOCK error code is an extended error code for SQLITE_READONLY. The SQLITE_READONLY_CANTLOCK error code indicates that SQLite is unable to obtain a read lock on a WAL mode database because the shared-memory file associated with that database is read-only.
Implementation
static const int SQLITE_READONLY_CANTLOCK = 520;