ZaunError
Defined in: zaun/js/index.d.ts:43
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ZaunError(
message?):ZaunError
Defined in: ../../../node_modules/typescript/lib/lib.es5.d.ts:1082
Parameters
Section titled “Parameters”message?
Section titled “message?”string
Returns
Section titled “Returns”ZaunError
Inherited from
Section titled “Inherited from”Error.constructor
Constructor
Section titled “Constructor”new ZaunError(
message?,options?):ZaunError
Defined in: ../../../node_modules/typescript/lib/lib.es5.d.ts:1082
Parameters
Section titled “Parameters”message?
Section titled “message?”string
options?
Section titled “options?”ErrorOptions
Returns
Section titled “Returns”ZaunError
Inherited from
Section titled “Inherited from”Error.constructor
Properties
Section titled “Properties”
optionalbody?: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, …).
command?
Section titled “command?”
optionalcommand?:string
Defined in: zaun/js/index.d.ts:48
The command the host refused.