Commit ac32c780 authored by Michael Roth's avatar Michael Roth Committed by Luiz Capitulino
Browse files

qerror: add QERR_JSON_PARSE_ERROR to qerror.c



Missing from previous addition of error to qerror.h. Needed for
qerror_format() and friends.

Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: default avatarLuiz Capitulino <lcapitulino@gmail.com>
parent b84da831
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -140,6 +140,11 @@ static const QErrorStringTable qerror_table[] = {
        .error_fmt = QERR_JSON_PARSING,
        .desc      = "Invalid JSON syntax",
    },
    {
        .error_fmt = QERR_JSON_PARSE_ERROR,
        .desc      = "JSON parse error, %(message)",

    },
    {
        .error_fmt = QERR_KVM_MISSING_CAP,
        .desc      = "Using KVM without %(capability), %(feature) unavailable",