tapError
tapError<
E,A>(f): (data) =>Validation<E,A>
Defined in: Core/Validation.ts:251
Executes a side effect on the accumulated errors without changing the Validation. Useful for logging or reporting validation failures.
Type Parameters
Section titled “Type Parameters”E
A
Parameters
Section titled “Parameters”(errors) => void
Returns
Section titled “Returns”(data) => Validation<E, A>