libfossil
fsl_error Struct Reference

A container for storing generic error state. More...

#include "fossil-util.h"

Data Fields

int code
 Error code, generally assumed to be a fsl_rc_t value. More...
 
fsl_buffer msg
 Error message text is stored in this->msg.mem. More...
 

Detailed Description

A container for storing generic error state.

It is used to propagate error state between layers of the API back to the client. i.e. they act as basic exception containers.

See also
fsl_error_set()
fsl_error_get()
fsl_error_move()
fsl_error_clear()

Definition at line 692 of file fossil-util.h.

Field Documentation

int fsl_error::code

Error code, generally assumed to be a fsl_rc_t value.

Definition at line 701 of file fossil-util.h.

fsl_buffer fsl_error::msg

Error message text is stored in this->msg.mem.

The usable text part is this->msg.used bytes long.

Definition at line 697 of file fossil-util.h.


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