class
sqlite.SQLiteError
class SQLiteError
An error from SQLite. The name is "SQLiteError".
- readonly byteOffset: number
The UTF-8 byte offset of the token that the error refers to, counted from the start of the SQL string that was passed, also when a later statement of Database.run failed.
-1if the error refers to no token.The offset comes from
sqlite3_error_offset. - static stackTraceLimit: number
The
Error.stackTraceLimitproperty specifies the number of stack frames collected by a stack trace (whether generated bynew Error().stackorError.captureStackTrace(obj)).The default value is
10but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.If set to a non-number value, or set to a negative number, stack traces will not capture any frames.
- targetObject: object,constructorOpt?: Function): void;
Create .stack property on a target object