squareball
0.2.0.43-8b14
A general-purpose library for C99
|
#include <squareball/sb-error.h>
Data Fields | |
const char * | name |
sb_error_to_string_func_t | to_string_func |
sb_free_func_t | free_func |
Data structure that represents an error type object.
This should only be used when creating a custom error type.
sb_free_func_t sb_error_type_t::free_func |
Helper function to free the error data.
const char* sb_error_type_t::name |
Error type name.
sb_error_to_string_func_t sb_error_type_t::to_string_func |
Helper function to convert the custom error data to a string.