diff options
Diffstat (limited to 'docs/src/errors.rst')
-rw-r--r-- | docs/src/errors.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/src/errors.rst b/docs/src/errors.rst index 4e30447b..7c3f95d7 100644 --- a/docs/src/errors.rst +++ b/docs/src/errors.rst @@ -323,6 +323,13 @@ Error constants API --- +.. c:function:: UV_ERRNO_MAP(iter_macro) + + Macro that expands to a series of invocations of `iter_macro` for + each of the error constants above. `iter_macro` is invoked with two + arguments: the name of the error constant without the `UV_` prefix, + and the error message string literal. + .. c:function:: const char* uv_strerror(int err) Returns the error message for the given error code. Leaks a few bytes |