Home > rc-js-util > NestableError > normalizeErrorImpl
This should only be called by library extensions, not user code.
Signature:
protected static normalizeErrorImpl<TError extends NestableError<TLocalization>, TLocalization>(error: unknown, isLocalization: (message: unknown) => message is TLocalization, createNestableError: (error: unknown) => TError): TError;
Parameter | Type | Description |
---|---|---|
error | unknown | |
isLocalization | (message: unknown) => message is TLocalization | |
createNestableError | (error: unknown) => TError |
Returns:
TError