map Error
Map error to a new type or return encapsulated value.
Return
new expected with transformed error or encapsulated value
Parameters
error Fun
Function handling the case when error is present.
Map error to a new type or return encapsulated value.
new expected with transformed error or encapsulated value
Function handling the case when error is present.