Better message for PandocTemplateError.
This commit is contained in:
parent
e2c4d1ccfc
commit
2143d4d2a0
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ handleError (Left e) =
|
||||||
"Could not find data file " ++ fn
|
"Could not find data file " ++ fn
|
||||||
PandocResourceNotFound fn -> err 99 $
|
PandocResourceNotFound fn -> err 99 $
|
||||||
"File " ++ fn ++ " not found in resource path"
|
"File " ++ fn ++ " not found in resource path"
|
||||||
PandocTemplateError s -> err 5 s
|
PandocTemplateError s -> err 5 $ "Error compiling template " ++ s
|
||||||
PandocAppError s -> err 1 s
|
PandocAppError s -> err 1 s
|
||||||
PandocEpubSubdirectoryError s -> err 31 $
|
PandocEpubSubdirectoryError s -> err 31 $
|
||||||
"EPUB subdirectory name '" ++ s ++ "' contains illegal characters"
|
"EPUB subdirectory name '" ++ s ++ "' contains illegal characters"
|
||||||
|
|
Loading…
Add table
Reference in a new issue