aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Exception.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Exception.hs')
-rw-r--r--src/Haddock/Exception.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Haddock/Exception.hs b/src/Haddock/Exception.hs
index b537127c..eabc722e 100644
--- a/src/Haddock/Exception.hs
+++ b/src/Haddock/Exception.hs
@@ -25,6 +25,7 @@ instance Show HaddockException where
show (HaddockException str) = str
+throwE :: String -> a
#if __GLASGOW_HASKELL__ >= 609
instance Exception HaddockException
throwE str = throw (HaddockException str)