diff --git a/qerror.c b/qerror.c index aa89a3d7db..8ffe4f673b 100644 --- a/qerror.c +++ b/qerror.c @@ -108,6 +108,10 @@ static const QErrorStringTable qerror_table[] = { .error_fmt = QERR_SET_PASSWD_FAILED, .desc = "Could not set password", }, + { + .error_fmt = QERR_TOO_MANY_FILES, + .desc = "Too many open files", + }, { .error_fmt = QERR_UNDEFINED_ERROR, .desc = "An undefined error has ocurred", diff --git a/qerror.h b/qerror.h index 48f1ab6b4e..9462d5cb9d 100644 --- a/qerror.h +++ b/qerror.h @@ -92,6 +92,9 @@ QError *qobject_to_qerror(const QObject *obj); #define QERR_UNDEFINED_ERROR \ "{ 'class': 'UndefinedError', 'data': {} }" +#define QERR_TOO_MANY_FILES \ + "{ 'class': 'fd_too_many_files', 'data': {} }" + #define QERR_VNC_SERVER_FAILED \ "{ 'class': 'VNCServerFailed', 'data': { 'target': %s } }"