An error returned from a function. More...
#include <bio.h>
Data Fields | |
const bio_tag_t * | tag |
The unique tag representing the domain that error comes from. | |
const char *(* | strerror )(int code) |
The error formatting function. | |
int | code |
The error code. | |
const char * | file |
The filename where the error originated from. | |
int | line |
The line where the error originated from. | |
An error returned from a function.
int bio_error_t::code |
The error code.
The meaning of the value depends on the bio_error_t::tag.
For example: The error code 5 could have one meaning with the tag bio.error.windows
but a different meaning with bio.error.linux
.
const char* bio_error_t::file |
The filename where the error originated from.
int bio_error_t::line |
The line where the error originated from.
const char *(* bio_error_t::strerror) (int code) |
The error formatting function.
const bio_tag_t* bio_error_t::tag |
The unique tag representing the domain that error comes from.