diff options
Diffstat (limited to 'app/Exception.hs')
-rw-r--r-- | app/Exception.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/Exception.hs b/app/Exception.hs index ddaef5a..49c9cb6 100644 --- a/app/Exception.hs +++ b/app/Exception.hs @@ -4,6 +4,7 @@ module Exception NoCommits (..), ProcessException (..), UnknownFileExtension (..), + InvalidDiff (..), ) where @@ -16,6 +17,7 @@ data AnyException | NoCommits' NoCommits | ProcessException' ProcessException | UnknownFileExtension' UnknownFileExtension + | InvalidDiff' InvalidDiff deriving (Show) instance Exception AnyException @@ -43,3 +45,8 @@ data UnknownFileExtension = UnknownFileExtension deriving (Show) instance Exception UnknownFileExtension + +data InvalidDiff = InvalidDiff String + deriving (Show) + +instance Exception InvalidDiff |