packages feed

error-codes 0.1.2.0 → 0.1.3.0

raw patch · 3 files changed

+8/−1 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Foreign.C.Error.Pattern: pattern EEOI :: Errno

Files

error-codes.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: error-codes-version: 0.1.2.0+version: 0.1.3.0 synopsis: Error code functions homepage: https://github.com/andrewthad/error-codes bug-reports: https://github.com/andrewthad/error-codes/issues
src/Foreign/C/Error/Describe.hs view
@@ -258,4 +258,5 @@   , {- 131 -} Description 131 (asBytes "ENOTRECOVERABLE") (asBytes "State not recoverable")   , {- 132 -} Description 132 (asBytes "ERFKILL") (asBytes "Operation not possible due to RF-kill")   , {- 133 -} Description 133 (asBytes "EHWPOISON") (asBytes "Memory page has hardware error")+  , {- 254 -} Description 254 (asBytes "EEOI") (asBytes "End of input")   ]
src/Foreign/C/Error/Pattern.hs view
@@ -102,6 +102,8 @@   , pattern EUSERS   , pattern EWOULDBLOCK   , pattern EXDEV+    -- * Non-Linux error code+  , pattern EEOI   ) where  import Foreign.C.Error (Errno(Errno))@@ -308,3 +310,7 @@ pattern EWOULDBLOCK = Errno (CONST_EWOULDBLOCK) pattern EXDEV :: Errno pattern EXDEV = Errno (CONST_EXDEV)++-- Non-Linux error code+pattern EEOI :: Errno+pattern EEOI = Errno 254