0.1.1 CaptureErr API change and isErr bug fix
This release contains an API change to CaptureError
as well as a bug fix for isErr
.
CaptureError
has changed from accepting a function and an optional name, returning a "safe" version of the function to accepting a name and function, returning aResult
. This leads to more readable code and a very minor increase in performance.isErr
's specific error testing functionality did not work with the new error chaining method implemented in the previous version. That has been fixed and nowisErr
checks every error name in the chain. Please do not make circular references in Error chains and cause an infinite loop.
Please refer to the commit history for more detailed information about each change.
Full Changelog: 0.1.0...0.1.1