aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-05-15 21:22:41 +0200
committerJay Berkenbilt <ejb@ql.org>2022-05-20 13:54:09 +0200
commitbe0ed6ab5ed92d2018ac4b3274f21e24f30c0626 (patch)
tree01b16570c5acaafe6e35dcb48a686a1491ce5f72
parent9064542b5f23bde3e7d6826b5b5e8b0a6f356434 (diff)
downloadqpdf-be0ed6ab5ed92d2018ac4b3274f21e24f30c0626.tar.zst
Add new error type for JSON
-rw-r--r--include/qpdf/Constants.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qpdf/Constants.h b/include/qpdf/Constants.h
index d1fd969b..8cc67210 100644
--- a/include/qpdf/Constants.h
+++ b/include/qpdf/Constants.h
@@ -38,6 +38,7 @@ enum qpdf_error_code_e {
qpdf_e_damaged_pdf, /* syntax errors or other damage in PDF */
qpdf_e_pages, /* erroneous or unsupported pages structure */
qpdf_e_object, /* type/bounds errors accessing objects */
+ qpdf_e_json, /* error in qpdf JSON */
};
/* Object Types */