Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReplyError

When a ReplyError is thrown anywhere within a command, it will be caught and send to the user.

Hierarchy

Index

Constructors

Properties

cause?: Error
message: string
name: "ReplyError" = 'ReplyError'
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Type declaration

stackTraceLimit: number

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void