MANUAL: add section for exit codes.

This commit is contained in:
John MacFarlane 2019-09-12 08:35:21 -07:00
parent 88dc6fac5d
commit 5aef7d04f0

View file

@ -1376,6 +1376,33 @@ Options for wrapper scripts {.options}
pandoc -o foo.html -s
Exit codes
==========
If pandoc completes successfully, it will return exit code 0.
Nonzero exit codes have the following meanings:
1 PandocAppError
2 PandocOptionError
3 PandocFailOnWarningError
5 PandocTemplateError
31 PandocEpubSubdirectoryError
43 PandocPDFError
47 PandocPDFProgramNotFoundError
61 PandocHttpError
62 PandocShouldNeverHappenError
63 PandocSomeError
64 PandocParseError
65 PandocParsecError
65 PandocMakePDFError TODO DUP
67 PandocSyntaxMapError
83 PandocFilterError
91 PandocMacroLoop
92 PandocUTF8DecodingError
93 PandocIpynbDecodingError
97 PandocCouldNotFindDataFileError
99 PandocResourceNotFound
Templates
=========