Revision 3da2c808
b/qerror.c | ||
---|---|---|
73 | 73 |
.desc = "No file descriptor supplied via SCM_RIGHTS", |
74 | 74 |
}, |
75 | 75 |
{ |
76 |
.error_fmt = QERR_OPEN_FILE_FAILED, |
|
77 |
.desc = "Could not open '%(filename)'", |
|
78 |
}, |
|
79 |
{ |
|
76 | 80 |
.error_fmt = QERR_INVALID_BLOCK_FORMAT, |
77 | 81 |
.desc = "Invalid block format %(name)", |
78 | 82 |
}, |
b/qerror.h | ||
---|---|---|
64 | 64 |
#define QERR_FD_NOT_SUPPLIED \ |
65 | 65 |
"{ 'class': 'FdNotSupplied', 'data': {} }" |
66 | 66 |
|
67 |
#define QERR_OPEN_FILE_FAILED \ |
|
68 |
"{ 'class': 'OpenFileFailed', 'data': { 'filename': %s } }" |
|
69 |
|
|
67 | 70 |
#define QERR_INVALID_BLOCK_FORMAT \ |
68 | 71 |
"{ 'class': 'InvalidBlockFormat', 'data': { 'name': %s } }" |
69 | 72 |
|
Also available in: Unified diff