diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/io.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/io.lux b/stdlib/source/lux/io.lux index c054c5347..92ae11066 100644 --- a/stdlib/source/lux/io.lux +++ b/stdlib/source/lux/io.lux @@ -79,8 +79,8 @@ (#error.Success ma) ma - (#error.Error error) - (io (#error.Error error))))) + (#error.Failure error) + (io (#error.Failure error))))) (def: #export from-io (All [a] (-> (IO a) (Process a))) @@ -88,7 +88,7 @@ (def: #export (fail error) (All [a] (-> Text (Process a))) - (io (#error.Error error))) + (io (#error.Failure error))) (def: #export (throw exception message) (All [e a] (-> (Exception e) e (Process a))) |