From 3165e14b1749ba171a21bbe6503048b394c337d0 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sun, 19 Feb 2017 09:53:24 +0100
Subject: Error: added PandocMakePDFError

---
 src/Text/Pandoc/Error.hs | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src')

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
 
-- 
cgit v1.2.3