interface MockErrorFailure An unexpected failure the mock answers instead of running a handler.
Properties
kind
readonly kind: Exclude<BridgeErrorKind, "disconnected"> | "transport"; The BridgeError kind of the reply. transport makes the request itself reject, like a dropped host connection; the client reports it as failed, or as disconnected after disconnect(). disconnected is not a reply kind: a producer never sends it, so use disconnect() for a lost connection. released is how a producer answers a released View.
message
readonly message?: string; No documentation.
detail
readonly detail?: BridgeFailureDetail; Development-only failure detail, as BridgeError.detail exposes it.
reason
readonly reason?: BridgeErrorReason; What refines kind, as BridgeError.reason exposes it, such as unresolved-key for rejected.