|
Gwyfile Library
|
List of errors. More...
Data Fields | |
| GwyfileError ** | errors |
| Array holding the errors. | |
| size_t | n |
| Number of errors in the list. | |
List of errors.
GwyfileErrorList holds a list of errors. It is useful for non-fatal error handling such as file validity checking.
A new error list variable would be typically created on stack and initialized with gwyfile_error_list_init(). After the errors are no longer needed use gwyfile_error_list_clear() to clear the list, freeing all the errors. The variable can be then reused to gather another list of errors.