Returns a function, which attempts to deserialize Right
values using the given function, catching any
exceptions and representing them as DeserializationErrors.
Converts a deserialization function, which returns errors of type E
, into a function where errors are thrown
as exceptions, and results are returned unwrapped.
Returns a function, which maps Left
values to HttpErrors, and attempts to deserialize Right
values using
the given function, catching any exceptions and representing them as DeserializationErrors.
Returns a function, which maps Left
values to HttpErrors, and attempts to deserialize Right
values using
the given function.
Converts a deserialization function, which returns errors of type E
, into a function where errors are wrapped
using DeserializationError.