---
name: "nerr_handle"
section: "3"
platform: "linux"
package: "clearsilver-dev"
version: "0.10.5-6+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nerr_handle"
---

# nerr\_handle(3)

walk the NEOERR chain for a matching error (clearsilver)

## NAME

nerr\_handle - walk the NEOERR chain for a matching error (clearsilver)

## SYNOPSIS

```
#include <util/neo_err.h>
```

```
int nerr_handle (NEOERR **err, NERR_TYPE type);
```

## ARGUMENTS

err - pointer to a pointer NEOERR\
 type - the NEOERR type, as registered with nerr\_register

## DESCRIPTION

nerr\_handle is a convenience function.  It is the equivalent of nerr\_match, but it will also deallocate the error chain on a match.

## SEE ALSO

[**nerr\_error\_traceback**(3)](/nerr_error_traceback/3.md), [**nerr\_pass**(3)](/nerr_pass/3.md), [**nerr\_error\_string**(3)](/nerr_error_string/3.md), **defined**(3), [**nerr\_pass\_ctx**(3)](/nerr_pass_ctx/3.md), **nerr\_passf**(3), [**nerr\_init**(3)](/nerr_init/3.md), [**nerr\_match**(3)](/nerr_match/3.md), [**nerr\_log\_error**(3)](/nerr_log_error/3.md), [**nerr\_ignore**(3)](/nerr_ignore/3.md), [**nerr\_register**(3)](/nerr_register/3.md), **nerr\_handle**
