Revision 7bbd8237

b/qerror.c
41 41
 */
42 42
static const QErrorStringTable qerror_table[] = {
43 43
    {
44
        .error_fmt = QERR_BUS_NOT_FOUND,
45
        .desc      = "Bus '%(bus)' not found",
46
    },
47
    {
44 48
        .error_fmt = QERR_COMMAND_NOT_FOUND,
45 49
        .desc      = "The command %(name) has not been found",
46 50
    },
b/qerror.h
42 42
/*
43 43
 * QError class list
44 44
 */
45
#define QERR_BUS_NOT_FOUND \
46
    "{ 'class': 'BusNotFound', 'data': { 'bus': %s } }"
47

  
45 48
#define QERR_COMMAND_NOT_FOUND \
46 49
    "{ 'class': 'CommandNotFound', 'data': { 'name': %s } }"
47 50

  

Also available in: Unified diff