Home --> Documentations --> PJLIB Reference
◆ PJ_BUILD_ERR
#define PJ_BUILD_ERR |
( |
|
code, |
|
|
|
msg |
|
) |
| { code, msg " (" #code ")" } |
Use this macro to generate error message text for your error code, so that they look uniformly as the rest of the libraries.
- Parameters
-
code | The error code |
msg | The error test. |
◆ PJ_EAFNOTSUP
Unsupported address family
◆ PJ_EBUG
◆ PJ_EBUSY
◆ PJ_ECANCELLED
◆ PJ_EEOF
◆ PJ_EEXISTS
◆ PJ_EGONE
◆ PJ_EIGNORED
◆ PJ_EINVAL
◆ PJ_EINVALIDOP
◆ PJ_EIPV6NOTSUP
◆ PJ_ENAMETOOLONG
Name too long (eg. hostname too long).
◆ PJ_ENOMEM
◆ PJ_ENOTFOUND
◆ PJ_ENOTSUP
The specified option is not supported.
◆ PJ_EPENDING
The operation is pending and will be completed later.
◆ PJ_ERESOLVE
Error in gethostbyname(). This is a generic error returned when gethostbyname() has returned an error.
◆ PJ_ESOCKETSTOP
◆ PJ_ETIMEDOUT
◆ PJ_ETOOBIG
◆ PJ_ETOOMANY
◆ PJ_ETOOMANYCONN
Too many connecting sockets.
◆ PJ_ETOOSMALL
◆ PJ_EUNKNOWN
Unknown error has been reported.
PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.
|