From be0ed6ab5ed92d2018ac4b3274f21e24f30c0626 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 15 May 2022 15:22:41 -0400 Subject: Add new error type for JSON --- include/qpdf/Constants.h | 1 + 1 file changed, 1 insertion(+) 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 */ -- cgit v1.2.3-54-g00ecf