Skip to content

RestError

Extends

  • Error

Constructors

new RestError()

new RestError(__namedParameters: LavalinkRestError): RestError

Parameters

ParameterType
__namedParametersLavalinkRestError

Returns

RestError

Overrides

Error.constructor

Defined in

shoukaku/src/node/Rest.ts:423

Properties

cause?

optional cause: unknown;

Inherited from

Error.cause

Defined in

node_modules/typescript/lib/lib.es2022.error.d.ts:24


error

error: string;

Defined in

shoukaku/src/node/Rest.ts:419


message

message: string;

Inherited from

Error.message

Defined in

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


name

name: string;

Inherited from

Error.name

Defined in

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


path

path: string;

Defined in

shoukaku/src/node/Rest.ts:421


stack?

optional stack: string;

Inherited from

Error.stack

Defined in

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


status

status: number;

Defined in

shoukaku/src/node/Rest.ts:418


timestamp

timestamp: number;

Defined in

shoukaku/src/node/Rest.ts:417


trace?

optional trace: string;

Defined in

shoukaku/src/node/Rest.ts:420