Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/PreludeIO/UserError.hs
module Prelude where import DIOError userError :: String -> IOError userError s = UserError "call to function `userError'" s