summaryrefslogtreecommitdiff
path: root/src/compiler/GF/System/Catch.hs
blob: 11fae1a7b8d0e58d06c2658845320dea16d51021 (plain)
1
2
3
4
5
6
7
-- | Backwards compatible 'catch' and 'try'
module GF.System.Catch where
import qualified System.IO.Error as S

-- ** Backwards compatible try and catch
catch = S.catchIOError
try = S.tryIOError