BridgeError class

Module @runic-artifex/views in @runic-artifex/views 0.23.0

class BridgeError extends Error

A Bridge call that .NET or the transport did not complete.

Constructors

constructor

constructor(kind: BridgeErrorKind, message: string, options?: BridgeErrorOptions);

No documentation.

Properties

kind

readonly kind: BridgeErrorKind;

No documentation.

route

readonly route?: string;

The View route of the request that failed, when known.

detail

readonly detail?: BridgeFailureDetail;

Development-only failure detail, when the producer sent it.

reason

readonly reason?: BridgeErrorReason;

What refines kind, such as unavailable or invalid-input for rejected.

Methods

[Symbol.hasInstance]

static [Symbol.hasInstance](value: unknown): boolean;

No documentation.