Lines Matching refs:err
30 void error_set(Error **err, ErrorClass err_class, const char *fmt, ...) GCC_FMT_ATTR(3, 4);
37 void error_set_errno(Error **err, int os_error, ErrorClass err_class, const char *fmt, ...) GCC_FMT_ATTR(4, 5);
45 void error_set_win32(Error **err, int win32_err, ErrorClass err_class, const char *fmt, ...) GCC_FMT_ATTR(4, 5);
51 #define error_setg(err, fmt, ...) \
52 error_set(err, ERROR_CLASS_GENERIC_ERROR, fmt, ## __VA_ARGS__)
53 #define error_setg_errno(err, os_error, fmt, ...) \
54 error_set_errno(err, os_error, ERROR_CLASS_GENERIC_ERROR, fmt, ## __VA_ARGS__)
56 #define error_setg_win32(err, win32_err, fmt, ...) \
57 error_set_win32(err, win32_err, ERROR_CLASS_GENERIC_ERROR, fmt, ## __VA_ARGS__)
69 bool error_is_set(Error **err);
74 ErrorClass error_get_class(const Error *err);
79 Error *error_copy(const Error *err);
84 const char *error_get_pretty(Error *err);
96 void error_free(Error *err);