libraries/base/GHC/IO/Exception.hs-boot (10 lines of code) (raw):

{-# LANGUAGE Trustworthy #-} {-# LANGUAGE NoImplicitPrelude #-} module GHC.IO.Exception where import GHC.Base import GHC.Exception data IOException instance Exception IOException type IOError = IOException userError :: String -> IOError unsupportedOperation :: IOError