Group pj_errnum

group pj_errnum

Defines

PJ_BUILD_ERR(code, msg)

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_EUNKNOWN

Unknown error has been reported.

PJ_EPENDING

The operation is pending and will be completed later.

PJ_ETOOMANYCONN

Too many connecting sockets.

PJ_EINVAL

Invalid argument.

PJ_ENAMETOOLONG

Name too long (eg. hostname too long).

PJ_ENOTFOUND

Not found.

PJ_ENOMEM

Not enough memory.

PJ_EBUG

Bug detected!

PJ_ETIMEDOUT

Operation timed out.

PJ_ETOOMANY

Too many objects.

PJ_EBUSY

Object is busy.

PJ_ENOTSUP

The specified option is not supported.

PJ_EINVALIDOP

Invalid operation.

PJ_ECANCELLED

Operation is cancelled.

PJ_EEXISTS

Object already exists.

PJ_EEOF

End of file.

PJ_ETOOBIG

Size is too big.

PJ_ERESOLVE

Error in gethostbyname(). This is a generic error returned when gethostbyname() has returned an error.

PJ_ETOOSMALL

Size is too small.

PJ_EIGNORED

Ignored

PJ_EIPV6NOTSUP

IPv6 is not supported

PJ_EAFNOTSUP

Unsupported address family

PJ_EGONE

Object no longer exists

PJ_ESOCKETSTOP

Socket is stopped