Skip to content

Function: defaultWirestateErrorHandler() ​

ts
function defaultWirestateErrorHandler(context: WirestateErrorContext): void;

Defined in: src/wirestate-core/error/wirestate-error-handler.ts:106

Reports isolated Wirestate errors to console.error.

Parameters ​

ParameterTypeDescription
contextWirestateErrorContextIsolated failure context.

Returns ​

void

Remarks ​

This is the fallback used when a container has no onError handler, or when a custom handler throws.