---
name: "njb_error_stack_struct"
section: "3"
platform: "linux"
package: "libnjb-doc"
version: "2.2.5-4.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/njb_error_stack_struct"
---

# njb\_error\_stack\_struct(3)

## NAME

njb\_error\_stack\_struct -

## SYNOPSIS

`#include <njb_error.h>`

### Data Fields

int **idx**\
 int **count**\
 char \*\* **msg**\

## Detailed Description

This struct holds an error stack for each NJB object.

## Field Documentation

### int njb\_error\_stack\_struct::count Number of errors currently on the stack

Referenced by NJB\_Error\_Geterror(), and NJB\_Error\_Pending().

### int njb\_error\_stack\_struct::idx Current index into the error stack

Referenced by NJB\_Error\_Geterror(), and NJB\_Error\_Reset\_Geterror().

### char\*\* njb\_error\_stack\_struct::msg An array of error message strings

Referenced by NJB\_Error\_Geterror().

## Author

Generated automatically by Doxygen for libnjb from the source code.
