SQLiteCloudError

Custom error reported by SQLiteCloud drivers

Hierarchy

  • Error

    ↳ SQLiteCloudError

Table of contents

Constructors

Properties

Methods

Constructors

constructor

• new SQLiteCloudError(message, args?): SQLiteCloudError

Parameters

NameType
messagestring
args?Partial<SQLiteCloudError>

Returns

SQLiteCloudError

Overrides

Error.constructor

Defined in

src/drivers/types.ts:102

Properties

cause

• Optional cause: string | Error

Upstream error that cause this error

Overrides

Error.cause

Defined in

src/drivers/types.ts:111


errorCode

• Optional errorCode: string

Error code returned by drivers or server

Defined in

src/drivers/types.ts:113


externalErrorCode

• Optional externalErrorCode: string

Additional error code

Defined in

src/drivers/types.ts:115


message

• message: string

Inherited from

Error.message

Defined in

node_modules/typescript/lib/lib.es5.d.ts:1054


name

• name: string

Inherited from

Error.name

Defined in

node_modules/typescript/lib/lib.es5.d.ts:1053


offsetCode

• Optional offsetCode: number

Additional offset code in commands

Defined in

src/drivers/types.ts:117


stack

• Optional stack: string

Inherited from

Error.stack

Defined in

node_modules/typescript/lib/lib.es5.d.ts:1055

node_modules/@types/node/globals.d.ts:127


prepareStackTrace

â–ª Static Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Type declaration

â–¸ (err, stackTraces): any

Optional override for formatting stack traces

Parameters
NameType
errError
stackTracesCallSite[]
Returns

any

See

https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces

Inherited from

Error.prepareStackTrace

Defined in

node_modules/@types/node/globals.d.ts:140

node_modules/bun-types/globals.d.ts:1532


stackTraceLimit

â–ª Static stackTraceLimit: number

Inherited from

Error.stackTraceLimit

Defined in

node_modules/@types/node/globals.d.ts:142

node_modules/bun-types/globals.d.ts:1534

Methods

captureStackTrace

â–¸ captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

NameType
targetObjectObject
constructorOpt?Function

Returns

void

Inherited from

Error.captureStackTrace

Defined in

node_modules/@types/node/globals.d.ts:133

â–¸ captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

NameType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

Error.captureStackTrace

Defined in

node_modules/bun-types/globals.d.ts:1525