Options
All
  • Public
  • Public/Protected
  • All
Menu

This exception informs the host system that an app essential to the execution of a system action is disabled, so the action should be halted.

Apps can register to be considered essential to the execution of internal events of the framework such as IPreMessageSentPrevent, IPreRoomUserJoined, etc.

This is used interally by the framework and is not intended to be thrown manually by apps.

Hierarchy

Index

Constructors

constructor

Properties

message

message: string

name

name: string = 'AppsEngineException'

Optional prepareStackTrace

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

Optional override for formatting stack traces

see

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Type declaration

    • (err: Error, stackTraces: CallSite[]): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

Optional stack

stack: string

stackTraceLimit

stackTraceLimit: number

Methods

captureStackTrace

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

getErrorInfo

  • getErrorInfo(): { message: string; name: string }

Generated using TypeDoc