1nerr_match(3)                   util/neo_err.h                   nerr_match(3)
2
3
4

NAME

6       nerr_match
7

SYNOPSIS

9       #include <util/neo_err.h>
10
11
12       int nerr_match (NEOERR *err, NERR_TYPE type);
13
14
15
16

ARGUMENTS

18       err - the NEOERR that has an error.
19       type - the NEOERR type, as registered with nerr_register
20
21

DESCRIPTION

23       nerr_match is used to walk the NEOERR chain and match the error against
24       a specific error type.  In exception parlance, this would be the equiv‐
25       alent  of  "catch".   Typically,  you can just compare a NEOERR against
26       STATUS_OK or just test for true if you are checking for any error.
27
28

SEE ALSO

30       nerr_error_traceback(3),          nerr_pass(3),          nerr_passf(3),
31       nerr_raise_errnof(3),        nerr_log_error(3),       nerr_pass_ctx(3),
32       nerr_raisef(3),  nerr_init(3),   nerr_match(3),   nerr_error_string(3),
33       nerr_ignore(3),    nerr_register(3),   nerr_raise(3),   nerr_handle(3),
34       nerr_pass_ctxf
35
36
37
38ClearSilver                    14 November 2006                  nerr_match(3)
Impressum