diff options
Diffstat (limited to 'app/Exception.hs')
-rw-r--r-- | app/Exception.hs | 6 |
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 |