BridgeDiagnostic interface

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

interface BridgeDiagnostic

A failure or terminal event the Views runtime observed.

Properties

kind

readonly kind: "error" | "operation";

No documentation.

code

readonly code: BridgeDiagnosticCode;

What happened; see BridgeDiagnosticCode.

message

readonly message: string;

No documentation.

route

readonly route?: string;

The View route, such as counter, when known.

detail

readonly detail?: BridgeFailureDetail;

Development-only producer 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.