aboutsummaryrefslogtreecommitdiffstats
path: root/app/Exception.hs
blob: 0cccf5be93a7c49413ddcedab9c517ab46a6332f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module Exception
  ( DecodeException (DecodeException),
    DuplicateField (DuplicateField),
    ParseError (ParseError),
  )
where

import Control.Exception (Exception)

data DecodeException = DecodeException
  deriving (Show)

instance Exception DecodeException

data DuplicateField = DuplicateField String
  deriving (Show)

instance Exception DuplicateField

data ParseError = ParseError String
  deriving (Show)

instance Exception ParseError