#include <apr.h>
#include <apr_errno.h>
#include <apr_pools.h>
Go to the source code of this file.
Data Structures | |
| struct | etl_error_t |
| An exception object. More... | |
Defines | |
| #define | ETL_ERR(expression) |
Check if the etl_error_t returned by expression is equal to ETL_SUCCESS. | |
| #define | ETL_SUCCESS NULL |
Successful return value for a function that returns etl_error_t. | |
| #define | etl_error_create(err, msg) |
Return a new etl_error_t with underlying apr_status_t err and message msg. | |
| #define | etl_error_createf(err, fmt,) |
Return a new etl_error_t with underlying apr_status_t err and message created printf style with fmt and varargs. | |
Functions | |
| etl_error_t * | etl_error_create_impl (apr_status_t err, const char *msg, apr_uint32_t line, const char *file) |
The underlying function that implements etl_error_create. | |
| etl_error_t * | etl_error_createf_impl (apr_status_t err, apr_uint32_t line, const char *file, const char *fmt,...) |
The underlying function that implements etl_error_createf. | |
| void | etl_error_clear (etl_error_t *err) |
| Destroy err. | |
Definition in file etl_error.h.
|
|
Value: do { \ etl_error_t *etl__err = (expression); \ if (etl__err) \ return etl__err; \ } while (0) etl_error_t returned by expression is equal to ETL_SUCCESS.
If it is, do nothing, if not, then return it. Definition at line 36 of file etl_error.h. |
|
|
Value: etl_error_create_impl(err, \ msg, \ __LINE__, \ __FILE__) etl_error_t with underlying apr_status_t err and message msg.
Definition at line 60 of file etl_error.h. |
|
|
Value: etl_error_createf_impl(err, \ __LINE__, \ __FILE__, \ fmt, \ __VA_ARGS__) etl_error_t with underlying apr_status_t err and message created printf style with fmt and varargs.
Definition at line 81 of file etl_error.h. |
|
||||||||||||||||||||
|
The underlying function that implements This is an implementation detail, and should not be directly called by users. |
|
||||||||||||||||||||||||
|
The underlying function that implements This is an implementation detail, and should not be directly called by users. |
1.4.4