API reference / @evolu/common / Type / formatUnionError
Function: formatUnionError()
function formatUnionError<Error>(
formatTypeError,
): TypeErrorFormatter<UnionError<Error>>;
Defined in: packages/common/src/Type.ts:3065
Type Parameters
| Type Parameter |
|---|
Error extends TypeError<Capitalize<string>> |
Parameters
| Parameter | Type |
|---|---|
formatTypeError | TypeErrorFormatter<Error> |
Returns
TypeErrorFormatter<UnionError<Error>>