JabberWerxC  2015.1.1
Data Fields
jw_err Struct Reference

#include <basics.h>

Data Fields

jw_errcode code
 
const char * message
 
const char * function
 
const char * file
 
unsigned long line
 

Detailed Description

An instance of an error context. Unlike other structures, it is the API user's responsibility to allocate the structure; however the values provided are considered constants, and MUST NOT be deallocated.

Field Documentation

jw_errcode jw_err::code

The error code

const char* jw_err::file

The file where the error occured

const char* jw_err::function

The function where the error occured, or "<unknown>" if it cannot be determined

unsigned long jw_err::line

The line number in the file where the error occured

const char* jw_err::message

The human readable message for the error code


The documentation for this struct was generated from the following file: