Win32-errors

Alternative error handling for Win32 foreign calls

http://github.com/mikesteele81/win32-errors

Latest on Hackage:0.2.2.7

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Michael Steele
Maintained by [email protected]

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.