picotm
0.2.0
|
#include <picotm-error.h>
Data Fields | |
enum picotm_error_status | status |
bool | is_non_recoverable |
const char * | description |
void * | conflicting_tx |
enum picotm_error_code | error_hint |
int | errno_hint |
Describes an error.
void* picotm_error::conflicting_tx |
The conflicting transaction for PICOTM_CONFLICTING if known, or NULL otherwise.
const char* picotm_error::description |
A string with additonal information about the error.
int picotm_error::errno_hint |
The picotm errno for PICOTM_ERRNO if known, or 0 otherwise.
enum picotm_error_code picotm_error::error_hint |
The picotm error code for PICOTM_ERROR_CODE if known, or PICOTM_GENERAL_ERROR otherwise.
bool picotm_error::is_non_recoverable |
True is the error is non-recoverable, or false otherwise.
enum picotm_error_status picotm_error::status |
The status code of the error.