mapError
TaskResult.mapError
('a -> 'b) -> Task<Result<'c, 'a>> -> Task<Result<'c, 'b>>Examples
Example 1
// Task<Result<PostId>, string>
createPost createPostRequest
|> TaskResult.mapError (fun (ex : exn) -> ex.Message)Last updated