The pretty-error package

[ Tags: apache, error-handling, library ] [ Propose Tags ]

Sometimes you need to assume something at runtime that you can't prove in the type system. When you do that, you should make sure you get a good error message if ever your assumption turns out to be wrong. That's what this library is for.

Use the functions in here to get high quality error messages for when your invariants don't hold at runtime. The functions all pretty print any Haskell values given to them, which makes it easier to understand what's going on when your code breaks.

Properties

Versions 0.1.0.0
Dependencies base (==4.*), basic-prelude, bytestring, pretty-show [details]
License Apache-2.0
Copyright (c) 2015 Jonathan M. Lange
Author Jonathan M. Lange
Maintainer jml@mumak.net
Category Error Handling
Home page https://github.com/jml/pretty-error
Source repository head: git clone git://github.com:jml/pretty-error.git
Uploaded Sat Sep 5 16:26:25 UTC 2015 by jml
Distributions NixOS:0.1.0.0
Downloads 152 total (5 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-09-05 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees