Win32-errors: Alternative error handling for Win32 foreign calls

[ bsd3, library, system ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.2, 0.2.0.1, 0.2.1, 0.2.2, 0.2.2.1, 0.2.2.3, 0.2.2.4, 0.2.2.5, 0.2.2.6, 0.2.2.7
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]
Tested with ghc ==9.2.7, ghc ==9.4.4, ghc ==9.6.1
License BSD-3-Clause
Copyright Michael Steele, 2014 - 2023
Author Michael Steele
Maintainer mikesteele81@gmail.com
Category System
Home page http://github.com/mikesteele81/win32-errors
Bug tracker http://github.com/mikesteele81/win32-errors/issues
Source repo head: git clone http://github.com/mikesteele81/win32-errors
Uploaded by gussen at 2023-04-05T20:52:21Z
Distributions NixOS:0.2.2.7
Reverse Dependencies 6 direct, 0 indirect [details]
Downloads 7215 total (32 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]