aboutsummaryrefslogblamecommitdiff
path: root/src/Haddock/Exception.hs
blob: 385f36a932df83c04f555d036c6e4a8b72c3f7d3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                                         

                          
       


                        
 

                                                                 
 
                                    
--
-- Haddock - A Haskell Documentation Tool
--
-- (c) Simon Marlow 2003
--


module Haddock.Exception (
  HaddockException,
  throwE
) where


import Data.Typeable
import Control.Exception


data HaddockException = HaddockException String deriving Typeable
throwE str = throwDyn (HaddockException str)


instance Show HaddockException where
  show (HaddockException str) = str