aboutsummaryrefslogtreecommitdiffstats
path: root/app/Exception.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2023-12-08 03:04:43 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2023-12-08 03:04:43 +0100
commit5842e730152a2ae11fc8772a505baa3ba81b1e9c (patch)
treeb1c51d7371a173e646d6ac1bb0f9a15e96e34c58 /app/Exception.hs
parentc1ff403387064ff0027b9e762cc6f6a8fa20c8d9 (diff)
chore: drop `Git.withWorkingTree`
Diffstat (limited to 'app/Exception.hs')
-rw-r--r--app/Exception.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Exception.hs b/app/Exception.hs
index a809616..41097b3 100644
--- a/app/Exception.hs
+++ b/app/Exception.hs
@@ -6,6 +6,7 @@ module Exception
UnknownFileExtension (..),
InvalidDiff (..),
InvalidIssue (..),
+ CannotReadFile (..),
)
where
@@ -60,3 +61,8 @@ data InvalidIssue = InvalidIssue (P.ParseErrorBundle [D.Node] Void)
deriving (Show)
instance Exception InvalidIssue
+
+data CannotReadFile = CannotReadFile
+ deriving (Show)
+
+instance Exception CannotReadFile