name:                Win32-errors
version:             0.2.2.1
synopsis:            Alternative error handling for Win32 foreign calls
description:
    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.
license:       BSD3
license-file:  LICENSE
author:        Michael Steele
maintainer:    mikesteele81@gmail.com
copyright:     Michael Steele, 2014 - 2015
category:      System
build-type:    Simple
cabal-version: >=1.16
homepage:      http://github.com/mikesteele81/win32-errors
bug-reports:   http://github.com/mikesteele81/win32-errors/issues
tested-with:   GHC == 7.8.3, GHC == 7.10.1
extra-source-files:
    include/windows_cconv.h
    ChangeLog

library
    default-language: Haskell2010
    ghc-options: -Wall
    cc-options:  -fno-strict-aliasing
    build-depends:
          base             >= 4.6  && < 4.9
        , template-haskell >= 2.8  && < 2.11
        , text             >= 0.11 && < 1.3
        , Win32            >= 2.2  && < 2.4
    exposed-modules:
        System.Win32.Error
        System.Win32.Error.Foreign
    other-modules:
        System.Win32.Error.Mapping
        System.Win32.Error.TH
        System.Win32.Error.Types
    include-dirs: include