Error thrown by the client.

Hierarchy

  • Error
    • LibsqlError

Constructors

  • Parameters

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

    Returns LibsqlError

Properties

cause?: unknown
code: string

Machine-readable error code.

message: string
name: string
rawCode?: number

Raw numeric error code

stack?: string
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