aboutsummaryrefslogtreecommitdiffstats
path: root/src/Store/Exception.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-02-19 04:55:36 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-02-19 04:55:36 +0100
commitbbe3b75bfd0767c61bcd436e843b9c785efd289f (patch)
tree5d3f62f0e8eb8b96f89175bfc43e443648ad4f8c /src/Store/Exception.hs
parent748f82632e5ab6fc2c2f7a6eedb1ac4c467ccb3e (diff)
support `INSERT`, `DELETE`, `UPDATE`
Diffstat (limited to 'src/Store/Exception.hs')
-rw-r--r--src/Store/Exception.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Store/Exception.hs b/src/Store/Exception.hs
index 245780c..94beaab 100644
--- a/src/Store/Exception.hs
+++ b/src/Store/Exception.hs
@@ -2,10 +2,12 @@ module Store.Exception
( DecodeException (DecodeException),
DuplicateField (DuplicateField),
ParseError (ParseError),
+ MissingFileName (MissingFileName),
)
where
import Control.Exception (Exception)
+import Data.Aeson qualified as J
data DecodeException = DecodeException
deriving (Show)
@@ -21,3 +23,8 @@ data ParseError = ParseError String
deriving (Show)
instance Exception ParseError
+
+data MissingFileName = MissingFileName J.Value
+ deriving (Show)
+
+instance Exception MissingFileName