# exceptions

> Extensible optionally-pure exceptions for Haskell

Source: https://talira.ai/catalog/exceptions-np8znra7
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / functional programming](https://talira.ai/categories/libraries/functional-programming)
- Licence: BSD-3-Clause[^1][^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source under the BSD 3-Clause licence.
- Free tier: yes[^1]
- Backed by: [Edward Kmett](https://talira.ai/orgs/edward-kmett.md)

exceptions is a Haskell library of extensible, optionally pure exceptions that work with the monad transformer library ([mtl](https://talira.ai/catalog/mtl-vzqkw2d6.md)). It is maintained by Edward Kmett and free under the BSD 3-Clause licence.

## Links

- GitHub: https://github.com/ekmett/exceptions

## Problems it solves

- throw and catch exceptions inside a monad transformer stack in Haskell
- write Haskell code that can fail with an exception without being tied to IO
- handle errors in Haskell code that runs in a custom monad stack

## Features

- extensible exceptions in any monad, not just IO
- optionally pure exceptions
- compatible with mtl monad transformers

## Trust

Overall: 0.34 out of 1.
Signals: maintenance 0.46, adoption 0.35, momentum 0.04, community 0.63, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 1 commits in the last 90 days
- latest release v0.1.2 13.3 years ago
- 57 GitHub stars
- 36 contributors
- backed by Edward Kmett

## Related

- Works with [mtl](https://talira.ai/catalog/mtl-vzqkw2d6.md)

## Alternatives

- [mtl](https://talira.ai/catalog/mtl-vzqkw2d6.md): The Monad Transformer Library
- [transformers](https://talira.ai/catalog/transformers-tkbnymgd.md): Concrete functor and monad transformers for Haskell

## Sources

[^1]: https://github.com/ekmett/exceptions/blob/master/LICENSE (checked 27 Nov 2026)
[^2]: https://github.com/ekmett/exceptions/blob/master/exceptions.cabal (checked 27 Nov 2026)
[^3]: https://github.com/ekmett/exceptions (checked 27 Nov 2026)
