Changeset 534 for pjproject/trunk/pjlib/src/pj/errno.c
- Timestamp:
- Jun 22, 2006 6:30:13 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/errno.c
r330 r534 41 41 /* PJLIB's own error codes/messages */ 42 42 #if defined(PJ_HAS_ERROR_STRING) && PJ_HAS_ERROR_STRING!=0 43 43 44 static const struct 44 45 { … … 47 48 } err_str[] = 48 49 { 49 { PJ_EUNKNOWN, "Unknown Error" }, 50 { PJ_EPENDING, "Pending operation" }, 51 { PJ_ETOOMANYCONN, "Too many connecting sockets" }, 52 { PJ_EINVAL, "Invalid value or argument" }, 53 { PJ_ENAMETOOLONG, "Name too long" }, 54 { PJ_ENOTFOUND, "Not found" }, 55 { PJ_ENOMEM, "Not enough memory" }, 56 { PJ_EBUG, "BUG DETECTED!" }, 57 { PJ_ETIMEDOUT, "Operation timed out" }, 58 { PJ_ETOOMANY, "Too many objects of the specified type"}, 59 { PJ_EBUSY, "Object is busy"}, 60 { PJ_ENOTSUP, "Option/operation is not supported"}, 61 { PJ_EINVALIDOP, "Invalid operation"}, 62 { PJ_ECANCELLED, "Operation cancelled"}, 63 { PJ_EEXISTS, "Object already exists" }, 64 { PJ_EEOF, "End of file" }, 50 PJ_BUILD_ERR(PJ_EUNKNOWN, "Unknown Error" ), 51 PJ_BUILD_ERR(PJ_EPENDING, "Pending operation" ), 52 PJ_BUILD_ERR(PJ_ETOOMANYCONN, "Too many connecting sockets" ), 53 PJ_BUILD_ERR(PJ_EINVAL, "Invalid value or argument" ), 54 PJ_BUILD_ERR(PJ_ENAMETOOLONG, "Name too long" ), 55 PJ_BUILD_ERR(PJ_ENOTFOUND, "Not found" ), 56 PJ_BUILD_ERR(PJ_ENOMEM, "Not enough memory" ), 57 PJ_BUILD_ERR(PJ_EBUG, "BUG DETECTED!" ), 58 PJ_BUILD_ERR(PJ_ETIMEDOUT, "Operation timed out" ), 59 PJ_BUILD_ERR(PJ_ETOOMANY, "Too many objects of the specified type"), 60 PJ_BUILD_ERR(PJ_EBUSY, "Object is busy"), 61 PJ_BUILD_ERR(PJ_ENOTSUP, "Option/operation is not supported"), 62 PJ_BUILD_ERR(PJ_EINVALIDOP, "Invalid operation"), 63 PJ_BUILD_ERR(PJ_ECANCELLED, "Operation cancelled"), 64 PJ_BUILD_ERR(PJ_EEXISTS, "Object already exists" ), 65 PJ_BUILD_ERR(PJ_EEOF, "End of file" ), 66 PJ_BUILD_ERR(PJ_ETOOBIG, "Size is too big"), 65 67 }; 66 68 #endif /* PJ_HAS_ERROR_STRING */
Note: See TracChangeset
for help on using the changeset viewer.