name:                Win32-errors
version:             0.2
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
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.6.3
extra-source-files:
    include/windows_cconv.h

library
    default-language: Haskell2010
    ghc-options: -Wall
    cc-options:  -fno-strict-aliasing
    build-depends:
          base             >= 4.6  && < 4.8
        , template-haskell >= 2.8  && < 2.9
        , text             >= 0.11 && < 1.2
        , 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