A node:sqlite error as SQLite reports it.
(errcode: number, message: string)
| 68 | |
| 69 | /** A node:sqlite error as SQLite reports it. */ |
| 70 | function sqliteError(errcode: number, message: string): Error { |
| 71 | return Object.assign(new Error(message), { code: 'ERR_SQLITE_ERROR', errcode, errstr: message }); |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Hold `file` open with no sharing, as a backup or antivirus scan can on |
no outgoing calls
no test coverage detected