cwist
Modern C web framework with libttak runtime
Loading...
Searching...
No Matches
__prim_cwist_error_t Struct Reference

Internal union-like structure to store the actual error value. More...

#include <cwist_err.h>

Collaboration diagram for __prim_cwist_error_t:

Public Attributes

int8_t err_i8
 
int16_t err_i16
 
int32_t err_i32
 
int64_t err_i64
 
uint8_t err_u8
 
uint16_t err_u16
 
uint32_t err_u32
 
uint64_t err_u64
 
struct cwist_sstring * err_string
 
cJSON * err_json
 

Detailed Description

Internal union-like structure to store the actual error value.

Definition at line 44 of file cwist_err.h.

Member Data Documentation

◆ err_i16

◆ err_i32

int32_t __prim_cwist_error_t::err_i32

32-bit signed error value

Definition at line 50 of file cwist_err.h.

◆ err_i64

int64_t __prim_cwist_error_t::err_i64

64-bit signed error value

Definition at line 51 of file cwist_err.h.

◆ err_i8

int8_t __prim_cwist_error_t::err_i8

8-bit signed error value

Definition at line 48 of file cwist_err.h.

Referenced by cwist_sstring_init(), and cwist_sstring_init_escaped().

◆ err_json

cJSON * __prim_cwist_error_t::err_json

Pointer to cJSON error object

Definition at line 68 of file cwist_err.h.

◆ err_string

struct cwist_sstring * __prim_cwist_error_t::err_string

Pointer to sstring error object

Definition at line 67 of file cwist_err.h.

◆ err_u16

uint16_t __prim_cwist_error_t::err_u16

16-bit unsigned error value

Definition at line 60 of file cwist_err.h.

◆ err_u32

uint32_t __prim_cwist_error_t::err_u32

32-bit unsigned error value

Definition at line 61 of file cwist_err.h.

◆ err_u64

uint64_t __prim_cwist_error_t::err_u64

64-bit unsigned error value

Definition at line 62 of file cwist_err.h.

◆ err_u8

uint8_t __prim_cwist_error_t::err_u8

8-bit unsigned error value

Definition at line 59 of file cwist_err.h.


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