aboutsummaryrefslogtreecommitdiffstats
path: root/app/Exception.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-02-12 05:30:47 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-02-12 05:30:47 +0100
commit9e79b37ce9f6f863d50659d1c51620d544cc5b5c (patch)
tree50d6dac8c580e0bcefc16fceeb84acee6e0f0d5a /app/Exception.hs
parent0ae2a8ebbc88e013d2a79ee727da82931002ef96 (diff)
refactor `Record`
Diffstat (limited to 'app/Exception.hs')
-rw-r--r--app/Exception.hs11
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