Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Error
    • KoreanbotsAPIError

Index

Constructors

constructor

  • new KoreanbotsAPIError(message: string, code: number, method: string, path: string): KoreanbotsAPIError

Properties

Readonly code

code: number

Readonly message

message: string

Readonly method

method: string

name

name: string

Readonly path

path: string

Optional stack

stack?: string

Static Optional prepareStackTrace

prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Type declaration

Static stackTraceLimit

stackTraceLimit: number

Methods

Static captureStackTrace

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc