@hackage / Win32-errors

Alternative error handling for Win32 foreign calls

Latest0.2.2.7

About

Metadata

  • Last updated , by gussen
  • License BSD-3-Clause
  • Categories Systems Programming
  • Maintained by: mikesteele81@gmail.com

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 9.6.1
  2. 9.4.4
  3. 9.2.7

Readme

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.