Revision fab5767f
b/qerror.c | ||
---|---|---|
125 | 125 |
.desc = "Parameter '%(name)' is missing", |
126 | 126 |
}, |
127 | 127 |
{ |
128 |
.error_fmt = QERR_NO_BUS_FOR_DEVICE, |
|
129 |
.desc = "No '%(bus)' bus found for device '%(device)'", |
|
130 |
}, |
|
131 |
{ |
|
128 | 132 |
.error_fmt = QERR_OPEN_FILE_FAILED, |
129 | 133 |
.desc = "Could not open '%(filename)'", |
130 | 134 |
}, |
b/qerror.h | ||
---|---|---|
105 | 105 |
#define QERR_MISSING_PARAMETER \ |
106 | 106 |
"{ 'class': 'MissingParameter', 'data': { 'name': %s } }" |
107 | 107 |
|
108 |
#define QERR_NO_BUS_FOR_DEVICE \ |
|
109 |
"{ 'class': 'NoBusForDevice', 'data': { 'device': %s, 'bus': %s } }" |
|
110 |
|
|
108 | 111 |
#define QERR_OPEN_FILE_FAILED \ |
109 | 112 |
"{ 'class': 'OpenFileFailed', 'data': { 'filename': %s } }" |
110 | 113 |
|
Also available in: Unified diff