From e65afce0dd0b070ea03ae778fef54e7c3d477d15 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 15 Nov 2021 21:35:25 +0100 Subject: [PATCH] error.h: Document the error code enumeration. Doxygen complains about the missing comment. --- error.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/error.h b/error.h index c1e7b973..e9482121 100644 --- a/error.h +++ b/error.h @@ -252,6 +252,14 @@ * 'E_') and gets later redefined to expand to the error text only */ #define PARA_ERROR(err, msg) E_ ## err +/** + * Numeric error codes. + * + * Public functions which can fail return the negated value of one of the + * constants defined here to indicate the cause of the error. + * + * \sa \ref para_strerror(). + */ enum para_error_codes {PARA_ERRORS}; #undef PARA_ERROR #define PARA_ERROR(err, msg) msg -- 2.39.2