picotm  0.6.0
Data Fields
picotm_error Struct Reference

#include <picotm-error.h>

Collaboration diagram for picotm_error:
Collaboration graph
[legend]

Data Fields

enum picotm_error_status status
 
bool is_non_recoverable
 
const char * description
 
struct picotm_rwlockconflicting_lock
 
enum picotm_error_code error_hint
 
int errno_hint
 

Detailed Description

Describes an error.

Field Documentation

◆ conflicting_lock

struct picotm_rwlock* picotm_error::conflicting_lock

The conflicting lock for PICOTM_CONFLICTING if known, or NULL otherwise.

◆ description

const char* picotm_error::description

A string with additonal information about the error.

◆ errno_hint

int picotm_error::errno_hint

The picotm errno for PICOTM_ERRNO if known, or 0 otherwise.

◆ error_hint

enum picotm_error_code picotm_error::error_hint

The picotm error code for PICOTM_ERROR_CODE if known, or PICOTM_GENERAL_ERROR otherwise.

◆ is_non_recoverable

bool picotm_error::is_non_recoverable

True is the error is non-recoverable, or false otherwise.

◆ status

enum picotm_error_status picotm_error::status

The status code of the error.


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