diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/util_errors.c | 2 | ||||
-rw-r--r-- | src/util/util_errors.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/util/util_errors.c b/src/util/util_errors.c index 23cfdf9c6..60c2f439b 100644 --- a/src/util/util_errors.c +++ b/src/util/util_errors.c @@ -109,6 +109,8 @@ struct err_string error_to_str[] = { { "KCM operation not implemented" }, /* ERR_KCM_OP_NOT_IMPLEMENTED */ { "End of credential cache reached" }, /* ERR_KCM_CC_END */ { "Credential cache name not allowed" }, /* ERR_KCM_WRONG_CCNAME_FORMAT */ + { "Cannot encode a JSON object to string" }, /* ERR_JSON_ENCODING */ + { "Cannot decode a JSON object from string" }, /* ERR_JSON_DECODING */ { "ERR_LAST" } /* ERR_LAST */ }; diff --git a/src/util/util_errors.h b/src/util/util_errors.h index 387d48161..4e9da8147 100644 --- a/src/util/util_errors.h +++ b/src/util/util_errors.h @@ -131,6 +131,8 @@ enum sssd_errors { ERR_KCM_OP_NOT_IMPLEMENTED, ERR_KCM_CC_END, ERR_KCM_WRONG_CCNAME_FORMAT, + ERR_JSON_ENCODING, + ERR_JSON_DECODING, ERR_LAST /* ALWAYS LAST */ }; |