Skip to content

Defined in: zaun/js/index.d.ts:43

  • Error

new ZaunError(message?): ZaunError

Defined in: ../../../node_modules/typescript/lib/lib.es5.d.ts:1082

string

ZaunError

Error.constructor

new ZaunError(message?, options?): ZaunError

Defined in: ../../../node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

ZaunError

Error.constructor

optional body?: unknown

Defined in: zaun/js/index.d.ts:49


code: string

Defined in: zaun/js/index.d.ts:46

Lowercase for a local failure (timeout, closed, bad_link, unsupported, …), or the host’s own code (FORBIDDEN, RATE_LIMITED, …).


optional command?: string

Defined in: zaun/js/index.d.ts:48

The command the host refused.