diff options
Diffstat (limited to 'app/Exception.hs')
-rw-r--r-- | app/Exception.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Exception.hs b/app/Exception.hs new file mode 100644 index 0000000..d67a8bc --- /dev/null +++ b/app/Exception.hs @@ -0,0 +1,11 @@ +module Exception + ( DuplicateField (DuplicateField), + ) +where + +import Control.Exception (Exception) + +data DuplicateField = DuplicateField String + deriving (Show) + +instance Exception DuplicateField |