aboutsummaryrefslogtreecommitdiffstats
path: root/src/Store/Exception.hs
diff options
context:
space:
mode:
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