Introduces an on_error method for easier error handling when chaining Results. It will only execute the block if called on a Failure type and the Error is given to the block for processing.
Example usages here include logging or capturing an error in error monitoring software.
Introduces an
on_error
method for easier error handling when chainingResult
s. It will only execute the block if called on aFailure
type and theError
is given to the block for processing.Example usages here include logging or capturing an error in error monitoring software.
Closes #15