Skip to content

Function: defaultInternalErrorHandler()

ts
function defaultInternalErrorHandler(descriptor: InternalErrorDescriptor): void;

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

Reports isolated Wirestate errors to console.error.

Parameters

ParameterTypeDescription
descriptorInternalErrorDescriptorInternal error descriptor.

Returns

void

Remarks

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