aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Error.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Error.hs b/src/Text/Pandoc/Error.hs
index 55b2d981a..65f912c88 100644
--- a/src/Text/Pandoc/Error.hs
+++ b/src/Text/Pandoc/Error.hs
@@ -47,6 +47,7 @@ data PandocError = PandocFileReadError FilePath
| PandocSomeError String
| PandocParseError String
| PandocParsecError Input ParseError
+ | PandocMakePDFError String
deriving (Show, Typeable, Generic)
instance Exception PandocError
@@ -71,4 +72,5 @@ handleError (Left e) =
,"^"]
else ""
in err 65 $ "\nError at " ++ show err' ++ errorInFile
+ PandocMakePDFError s -> err 65 s