aboutsummaryrefslogtreecommitdiff
path: root/src/Tomato/Data/Except.hs
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@gmail.com>2022-05-29 16:07:59 -0500
committerJacques Comeaux <jacquesrcomeaux@gmail.com>2022-05-29 16:07:59 -0500
commit8a06c083fab9c66e754c7ed5a75dd4d89131c43e (patch)
tree28098c165bce0d8ebb5dda2d5390e63ddca1ab1e /src/Tomato/Data/Except.hs
parent399ab3ee1653bbc0da69e2cc299aa2a313e765b4 (diff)
Improve error reporting
Diffstat (limited to 'src/Tomato/Data/Except.hs')
-rw-r--r--src/Tomato/Data/Except.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Tomato/Data/Except.hs b/src/Tomato/Data/Except.hs
new file mode 100644
index 0000000..30212cf
--- /dev/null
+++ b/src/Tomato/Data/Except.hs
@@ -0,0 +1,9 @@
+module Tomato.Data.Except
+ ( DecodeException (..)
+ ) where
+
+import RIO
+
+data DecodeException = DecodeException !Text
+ deriving (Show, Typeable)
+instance Exception DecodeException