Custom error reported by SQLiteCloud drivers

Hierarchy

  • Error
    • SQLiteCloudError

Constructors

Properties

cause?: string | Error

Upstream error that cause this error

errorCode?: string

Error code returned by drivers or server

externalErrorCode?: string

Additional error code

message: string
name: string
offsetCode?: number

Additional offset code in commands

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

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void