Skip to main content

Class: GhostlyError

ghostly-runtime.GhostlyError

An Error class that can propage an extra data member back to the controlling application/driver.

Hierarchy​

  • Error

    ↳ GhostlyError

Constructors​

constructor​

β€’ new GhostlyError(message, data?)

Parameters​

NameType
messagestring
data?null | string | object

Overrides​

Error.constructor

Defined in​

ghostly-runtime/src/types.ts:115

Properties​

data​

β€’ Optional data: null | string | object


message​

β€’ message: string

Inherited from​

Error.message

Defined in​

website/node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es5.d.ts:1023


name​

β€’ name: string

Inherited from​

Error.name

Defined in​

website/node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es5.d.ts:1022


stack​

β€’ Optional stack: string

Inherited from​

Error.stack

Defined in​

website/node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es5.d.ts:1024

Methods​

toString​

β–Έ toString(): string

Returns​

string

Defined in​

ghostly-runtime/src/types.ts:123