#include <squareball/sb-error.h>
Data Fields | |
int | code |
char * | msg |
Data structure that represents an error object.
hello_configparser.c, hello_dir_create.c, hello_file_read.c, and hello_file_write.c.
int sb_error_t::code |
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".
char* sb_error_t::msg |
Human-readable error message.