MIT licensed by Profpatsch
Maintained by Profpatsch
This version can be pinned in stack with:error-0.2.1.0@sha256:5f22deb0b2d1f3cc0e7e001bc9793774087460fc65b43989633eff5a62da9aa2,1331

Module documentation for 0.2.1.0

Depends on 2 packages(full list with versions):

A canonical Error type, which provides a way to turn an error string into an Error, add context to an Error, and pretty print the Error for displaying it to users.

Changes

Revision history for error

0.2.1.0 – 2021-11-13

  • Add expectErrorIO and unwrapErrorIO.
  • Add ifIOError and ifError.

0.2.0.0 – 2021-10-29

  • Add Show instance to Error.

0.1.1.0 – 2021-10-28

  • Add HasCallStack to expectError and unwrapError.
  • Add showToError and exceptionToError.
  • Improved documentation of existing functions.

0.1.0.0 – 2021-06-26

  • Initial version. More or less feature complete, unless we decide we need extra helper functions.