Options
All
  • Public
  • Public/Protected
  • All
Menu

The internal exception from the framework

It's used to signal to the outside world that a known exception has happened during the execution of the apps.

It's the base exception for other known classes such as UserNotAllowedException, which is used to inform the host that an app identified that a user cannot perform some action, e.g. join a room

Hierarchy

  • Error
    • AppsEngineException

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