Global

Members

(constant) ConfigValidator

The room link validator is used to determine if a room can be bridged.
Source:

Methods

defaultMessage(args, defaultMsg)

Ensures `args` contain an error message defaulting to `defaultMsg`. Modifies `args`.
Parameters:
Name Type Description
args Array.<str> The arguments to an Error object constructor.
defaultMsg str The error message to default to if there is none given.
Source:

wrap()

Append the old error message to the new one and keep its stack trace. Example: throw wrap(e, HighLevelError, "This error is more specific");
Source:

Type Definitions

BridgeErrorReason

Type:
  • "m.event_not_handled" | "m.event_too_old" | "m.internal_error" | "m.foreign_network_error" | "m.event_unknown"
Source:

BridgeGaugesCallback() → {BridgeGaugesCounts}

Invoked at metrics export time to count items in the bridge.
Source:
Returns:
An object containing counts of items in the bridge.
Type
BridgeGaugesCounts

BridgeGaugesCounts

Type:
  • Object
Source:

consumeCallback(erropt, data)

Parameters:
Name Type Attributes Description
err Error <optional>
The error in case the data could not be retrieved.
data object The data associated with the consumed event.
Source: