FsFlow.ValidationModule.mapError

Maps the error type of a validation graph.

Parameters

  • mapper: A function of type 'error -> 'nextError.
  • validation: The source Validation.

Returns

A validation with transformed error values.