aboutsummaryrefslogtreecommitdiff
path: root/src/Tomato/Data/Except.hs
diff options
context:
space:
mode:
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