summaryrefslogtreecommitdiff
path: root/libraries/base/Control/Exception/Base.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/Control/Exception/Base.hs')
-rw-r--r--libraries/base/Control/Exception/Base.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/base/Control/Exception/Base.hs b/libraries/base/Control/Exception/Base.hs
index d443159cb3..e675e0c017 100644
--- a/libraries/base/Control/Exception/Base.hs
+++ b/libraries/base/Control/Exception/Base.hs
@@ -93,7 +93,7 @@ module Control.Exception.Base (
finally,
-- * Calls for GHC runtime
- recSelError, recConError, irrefutPatError, runtimeError,
+ recSelError, recConError, runtimeError,
nonExhaustiveGuardsError, patError, noMethodBindingError,
absentError, typeError,
nonTermination, nestedAtomically,
@@ -375,7 +375,7 @@ instance Exception NestedAtomically
-----
-recSelError, recConError, irrefutPatError, runtimeError,
+recSelError, recConError, runtimeError,
nonExhaustiveGuardsError, patError, noMethodBindingError,
absentError, typeError
:: Addr# -> a -- All take a UTF8-encoded C string
@@ -386,7 +386,6 @@ runtimeError s = errorWithoutStackTrace (unpackCStringUtf8# s)
absentError s = errorWithoutStackTrace ("Oops! Entered absent arg " ++ unpackCStringUtf8# s)
nonExhaustiveGuardsError s = throw (PatternMatchFail (untangle s "Non-exhaustive guards in"))
-irrefutPatError s = throw (PatternMatchFail (untangle s "Irrefutable pattern failed for pattern"))
recConError s = throw (RecConError (untangle s "Missing field in record construction"))
noMethodBindingError s = throw (NoMethodError (untangle s "No instance nor default method for class operation"))
patError s = throw (PatternMatchFail (untangle s "Non-exhaustive patterns in"))