diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-02-12 05:30:47 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-02-12 05:30:47 +0100 |
commit | 9e79b37ce9f6f863d50659d1c51620d544cc5b5c (patch) | |
tree | 50d6dac8c580e0bcefc16fceeb84acee6e0f0d5a /app/Exception.hs | |
parent | 0ae2a8ebbc88e013d2a79ee727da82931002ef96 (diff) |
refactor `Record`
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 |