BridgeDiagnostic interface

Namespace @runic-artifex/views · @runic-artifex/views 0.7.0-preview.5

interface BridgeDiagnostic

A failure or terminal event the Views runtime observed.

Properties

kind

readonly kind: "error" | "operation";

No documentation.

code

readonly code: string;

A BridgeErrorKind, uncertain, timedOut, protocol for a .NET host that speaks another Views protocol version, or reported for an application error the runtime caught.

message

readonly message: string;

No documentation.

route

readonly route?: string;

The Bridge route, such as counterIncrement, when known.

detail

readonly detail?: BridgeFailureDetail;

Development-only .NET failure detail, or the type and stack of a caught browser error.

member

readonly member?: string;

For an operation diagnostic: the command member and request id.

requestId

readonly requestId?: string;

No documentation.

error

readonly error?: unknown;

The error object, for local observers only. Never serialize it unfiltered.