Man Page: ne_get_error
Operating Environment: opensolaris
Section: 3
NE_GET_ERROR(3) neon API reference NE_GET_ERROR(3)NAMEne_get_error, ne_set_error - error handling for HTTP sessionsSYNOPSIS#include <ne_session.h> const char *ne_get_error (ne_sesssion *session); void ne_set_error (ne_sesssion *session, const char *format, ...);DESCRIPTIONThe session error string is used to store any human-readable error information associated with any errors which occur whilst using the HTTP session. The ne_get_error function returns the current session error string. This string persists only until it is changed by a subsequent operation on the session. The ne_set_error function can be used to set a new session error string, using a printf-style format string interface.EXAMPLESRetrieve the current error string: ne_session *sess = ne_session_create(...); ... printf("Error was: %s ", ne_get_error(sess)); Set a new error string: ne_session *sess = ne_session_create(...); ... ne_set_error(sess, "Response missing header %s", "somestring");AUTHORJoe Orton <neon@webdav.org>.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWneon | +--------------------+-----------------+ |Interface Stability | Volatile | +--------------------+-----------------+NOTESSource for Neon is available on http://opensolaris.org. neon 0.25.5 20 January 2006 NE_GET_ERROR(3)
| Related Man Pages |
|---|
| ne_set_error(3) - opensolaris |
| ne_set_read_timeout(3) - opensolaris |
| ne_set_persist(3) - opensolaris |
| ne_get_error(3) - debian |
| ne_set_error(3) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| What does this mean? |
| Study UNIX Kernel |
| Grep the 'not running' jobs and will send the update in mail with its name(job) |
| What is good? |
| Shopt -s histappend |