Error thrown by the client during batch operations.

Hierarchy

Constructors

  • Parameters

    • message: string
    • statementIndex: number
    • code: string
    • Optional rawCode: number
    • Optional cause: Error

    Returns LibsqlBatchError

Properties

cause?: unknown
code: string

Machine-readable error code.

message: string
name: string
rawCode?: number

Raw numeric error code

stack?: string
statementIndex: number

The zero-based index of the statement that failed in the batch.

prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc