bio
 
Loading...
Searching...
No Matches
bio_error_t Struct Reference

An error returned from a function. More...

#include <bio.h>

Data Fields

const bio_tag_ttag
 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.
 

Detailed Description

An error returned from a function.

See also
BIO_ERROR_FMT

Field Documentation

◆ code

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.

◆ file

const char* bio_error_t::file

The filename where the error originated from.

◆ line

int bio_error_t::line

The line where the error originated from.

◆ strerror

const char *(* bio_error_t::strerror) (int code)

The error formatting function.

See also
bio_strerror

◆ tag

const bio_tag_t* bio_error_t::tag

The unique tag representing the domain that error comes from.


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