blob: 47daeb7013b25f729e6e7427ed27c22d2851c02b [file]
prelude
import Init.System.IO
#eval (throw $ IO.userError "this is my error" : IO Unit)
#eval (throw $ IO.Error.noFileOrDirectory "file.ext" 31 "and details" : IO Unit)