libapreq2-2.17: include/apreq_error.h File Reference
Apache Software Foundation > HTTP Server Project > Request Library Subproject Apache HTTP Server Request Library - 2.17 include Macros | Functions apreq_error.h File Reference Apache Request Library Error status codes. More... #include " apr_errno.h " #include " apreq.h " Include dependency graph for apreq_error.h: This graph shows which files directly or indirectly include this file: Go to the source code of this file.
Macros #define APR_EBADARG APR_BADARG /* XXX: don't use APR_BADARG */ #define APREQ_ERROR_GENERAL APR_OS_START_USERERR #define APREQ_ERROR_TAINTED ( APREQ_ERROR_GENERAL + 1) #define APREQ_ERROR_INTERRUPT ( APREQ_ERROR_GENERAL + 2) #define APREQ_ERROR_BADDATA ( APREQ_ERROR_GENERAL + 10) #define APREQ_ERROR_BADCHAR ( APREQ_ERROR_BADDATA + 1) #define APREQ_ERROR_BADSEQ ( APREQ_ERROR_BADDATA + 2) #define APREQ_ERROR_BADATTR ( APREQ_ERROR_BADDATA + 3) #define APREQ_ERROR_BADHEADER ( APREQ_ERROR_BADDATA + 4) #define APREQ_ERROR_BADUTF8 ( APREQ_ERROR_BADDATA + 5) #define APREQ_ERROR_NODATA ( APREQ_ERROR_GENERAL + 20) #define APREQ_ERROR_NOTOKEN ( APREQ_ERROR_NODATA + 1) #define APREQ_ERROR_NOATTR ( APREQ_ERROR_NODATA + 2) #define APREQ_ERROR_NOHEADER ( APREQ_ERROR_NODATA + 3) #define APREQ_ERROR_NOPARSER ( APREQ_ERROR_NODATA + 4) #define APREQ_ERROR_MISMATCH ( APREQ_ERROR_GENERAL + 30) #define APREQ_ERROR_OVERLIMIT ( APREQ_ERROR_MISMATCH + 1) #define APREQ_ERROR_UNDERLIMIT ( APREQ_ERROR_MISMATCH + 2) #define APREQ_ERROR_NOTEMPTY ( APREQ_ERROR_MISMATCH + 3) Functions char * apreq_strerror ( apr_status_t s, char *buf, apr_size_t bufsize) Detailed Description Error status codes.
Define the APREQ_ error codes. Macro Definition Documentation ◆ APR_EBADARG #define APR_EBADARG APR_BADARG /* XXX: don't use APR_BADARG */ Bad Arguments return value See also APR_BADARG ◆ APREQ_ERROR_BADATTR #define APREQ_ERROR_BADATTR ( APREQ_ERROR_BADDATA + 3) Invalid attribute. ◆ APREQ_ERROR_BADCHAR #define APREQ_ERROR_BADCHAR ( APREQ_ERROR_BADDATA + 1) Invalid character. ◆ APREQ_ERROR_BADDATA #define APREQ_ERROR_BADDATA ( APREQ_ERROR_GENERAL + 10) Invalid input data. ◆ APREQ_ERROR_BADHEADER #define APREQ_ERROR_BADHEADER ( APREQ_ERROR_BADDATA + 4) Invalid header. ◆ APREQ_ERROR_BADSEQ #define APREQ_ERROR_BADSEQ ( APREQ_ERROR_BADDATA + 2) Invalid byte sequence. ◆ APREQ_ERROR_BADUTF8 #define APREQ_ERROR_BADUTF8 ( APREQ_ERROR_BADDATA + 5) Invalid utf8 encoding. ◆ APREQ_ERROR_GENERAL #define APREQ_ERROR_GENERAL APR_OS_START_USERERR Internal apreq error. ◆ APREQ_ERROR_INTERRUPT #define APREQ_ERROR_INTERRUPT ( APREQ_ERROR_GENERAL + 2) Parsing interrupted. ◆ APREQ_ERROR_MISMATCH #define APREQ_ERROR_MISMATCH ( APREQ_ERROR_GENERAL + 30) Conflicting information. ◆ APREQ_ERROR_NOATTR #define APREQ_ERROR_NOATTR ( APREQ_ERROR_NODATA + 2) Missing attribute. ◆ APREQ_ERROR_NODATA #define APREQ_ERROR_NODATA ( APREQ_ERROR_GENERAL + 20) Missing input data. ◆ APREQ_ERROR_NOHEADER #define APREQ_ERROR_NOHEADER ( APREQ_ERROR_NODATA + 3) Missing header. ◆ APREQ_ERROR_NOPARSER #define APREQ_ERROR_NOPARSER ( APREQ_ERROR_NODATA + 4) Missing parser. ◆ APREQ_ERROR_NOTEMPTY #define APREQ_ERROR_NOTEMPTY ( APREQ_ERROR_MISMATCH + 3) Setting already configured. ◆ APREQ_ERROR_NOTOKEN #define APREQ_ERROR_NOTOKEN ( APREQ_ERROR_NODATA + 1) Missing required token. ◆ APREQ_ERROR_OVERLIMIT #define APREQ_ERROR_OVERLIMIT ( APREQ_ERROR_MISMATCH + 1) Exceeds configured maximum limit. ◆ APREQ_ERROR_TAINTED #define APREQ_ERROR_TAINTED ( APREQ_ERROR_GENERAL + 1) Attempted to perform unsafe action with tainted data. ◆ APREQ_ERROR_UNDERLIMIT #define APREQ_ERROR_UNDERLIMIT ( APREQ_ERROR_MISMATCH + 2) Below configured minimum limit.
Function Documentation ◆ apreq_strerror() char* apreq_strerror ( apr_status_t s , char * buf , apr_size_t bufsize ) apreq's wrapper around apr_strerror() ; recognizes APREQ_ERROR_* status codes. Copyright © 2003-2022 The Apache Software Foundation . See LICENSE . Generated on Sat Sep 3 2022 17:23:06 for libapreq2 by 1.9.1