-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Error reporting functions
--
-- A family of functions to report errors on the standard error output.
@package system-error
@version 1.0.0
-- | A family of functions to report errors on the standard error output.
module System.Error
-- | Exit status reported to the OS. Usually it should be between 1 and 255
-- on Windows and POSIX-compliant systems.
type ExitStatus = Int
-- | Write program name and given error message to stderr and
-- terminate with exitFailure.
die :: String -> IO a
-- | Write program name and given error message to stderr and
-- terminate with ExitFailure constructed of ExitStatus.
dieWith :: ExitStatus -> String -> IO a
-- | Write program name and given error message to stderr.
warn :: String -> IO ()