When thrown inside a WebSocket route or outbound, these errors are sent to the client (m.error), but they are not thrown or logged on the server-side.

Hierarchy

  • Error
    • SilentError

Constructors

  • Parameters

    • Optional message: string

    Returns SilentError

Properties

SILENT: 1 = 1

Indicates that this error is a silent error.

message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc