Win32-errors: Alternative error handling for Win32 foreign calls

[ bsd3, library, system ] [ Propose Tags ]

This package provides an alternative to the Win32 library's error handling mechanism. The goal is to provide a nearly drop-in replacement for Win32's error-handling functions while offering the following benefits:

  • Ability to distinguish between different Win32 error codes.

  • Ability to catch Win32 exceptions separately from other exception types.

  • Ability to query for the generating function's name and standard system error massage associated with the exception.


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.1, 0.2,, 0.2.1, 0.2.2,,,,,,
Change log ChangeLog
Dependencies base (>=4.6 && <5.0), template-haskell (>=2.18 && <2.30), text (>=0.11 && <2.1.0), Win32 (>=2.2 && <2.14) [details]
License BSD-3-Clause
Copyright Michael Steele, 2014 - 2023
Author Michael Steele
Category System
Home page
Bug tracker
Source repo head: git clone
Uploaded by gussen at 2023-04-05T20:52:21Z
Distributions NixOS:
Reverse Dependencies 6 direct, 0 indirect [details]
Downloads 7080 total (29 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]