sb_error_t Struct Reference

#include <squareball/sb-error.h>

Data Fields

int code
char * msg

Detailed Description

Data structure that represents an error object.

Examples:

hello_dir_create.c, hello_file_read.c, and hello_file_write.c.


Field Documentation

Integer that stores the error code.

Negative error codes are reserved for internal usage, and should not be used by applications developed with this library. Also, 0 is not a good value for an error code, as it may be confused with "no error".

Human-readable error message.

Examples:
hello_dir_create.c, hello_file_read.c, and hello_file_write.c.

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

Generated on 5 Apr 2016 for squareball by  doxygen 1.6.1