Tchatator413
TripEnArvor instant messaging protocol - JSON-based
Loading...
Searching...
No Matches
Enumerations
errstatus.h File Reference

Error status enumeration - Interface. More...

#include <stdbool.h>

Go to the source code of this file.

Enumerations

enum  errstatus_t {
  errstatus_handled = -1 , min_errstatus = errstatus_handled , errstatus_error , errstatus_ok ,
  max_errstatus = errstatus_ok
}
 An error status. More...
 

Detailed Description

Error status enumeration - Interface.

Author
Raphaƫl
Date
29/01/2025

Definition in file errstatus.h.

Enumeration Type Documentation

◆ errstatus_t

An error status.

Remarks
errstatus constants are used in other integral expressions, by considering -1 and 0 as errors and any other value as successful. When this is the case, it will be documented.
Enumerator
errstatus_handled 

An error occured but it has already been handled, no action needed besides propagation.

min_errstatus 

Smallest value of the enuemration.

errstatus_error 

An error occurred.

errstatus_ok 

No error. Can be shadowed by the payload value in supertypes.

max_errstatus 

Largest value of the enumeration.

Definition at line 12 of file errstatus.h.

12 {
errstatus_t
An error status.
Definition errstatus.h:12
@ max_errstatus
Largest value of the enumeration.
Definition errstatus.h:22
@ errstatus_ok
No error. Can be shadowed by the payload value in supertypes.
Definition errstatus.h:20
@ errstatus_handled
An error occured but it has already been handled, no action needed besides propagation.
Definition errstatus.h:14
@ min_errstatus
Smallest value of the enuemration.
Definition errstatus.h:16
@ errstatus_error
An error occurred.
Definition errstatus.h:18