Documentation
Classes
@discord-player
utils
PlayerException

PlayerException extends Error

new PlayerException(message)
ParameterTypeOptionalDescription
messagePlayerExceptionMessage-

Properties

public message: string

  • Source: node_modules/typescript/lib/lib.es5.d.ts#L1054

public name: string

  • Source: node_modules/typescript/lib/lib.es5.d.ts#L1053

public stack: string

  • Source: node_modules/typescript/lib/lib.es5.d.ts#L1055

public static prepareStackTrace: (err: Error, stackTraces: Array<CallSite>) => any

  • Source: node_modules/@types/node/globals.d.ts#L11

public static stackTraceLimit: number

  • Source: node_modules/@types/node/globals.d.ts#L13

Methods

public static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

ParameterTypeOptionalDescription
targetObjectobject-
constructorOptFunction-
  • Source: node_modules/@types/node/globals.d.ts#L4