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:422

Properties

error

error: string;

Defined in

shoukaku/src/node/Rest.ts:418


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:420


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:417


timestamp

timestamp: number;

Defined in

shoukaku/src/node/Rest.ts:416


trace?

optional trace: string;

Defined in

shoukaku/src/node/Rest.ts:419