Lib:Architecture/Base Layer/Error Module
From GNUpdf
| Library Module | |
|---|---|
| Error Module | |
| Layer | Base |
| API Documentation | Reference Manual |
| Source Files | src/base/pdf-error.h |
Contents |
[edit]
Overview
The Error module provides procedures for error reporting to the client as well as for error tracing (via debug messages) to developers. Here we also define status types returned by most procedures (there are exceptions though).
[edit]
Status Types
A status type name is defined. This type of variable is returned by many library functions in order to communicate the status of the performed operation.
[edit]
Error reporting procedures
Basic functions are defined to print messages either to stderr or to some other file.
[edit]
Debugging procedures
For each layer there is a macro procedure defined. These are only of interest to the library developers.



