ae2f_docs
errGlob.h File Reference

Those numbers with [ ae2f_err_t ] will be the state. More...

#include <stdint.h>

Go to the source code of this file.

Macros

#define ae2f_errGlob_OK   0
 The Operation you've wanted went successful.
#define ae2f_errGlob_IMP_NOT_FOUND   0b1
 Failed to find the function on preprocessor which is callable for some reason No operation has beed done.
#define ae2f_errGlob_PTR_IS_NULL   0b10
 Failed to refer the pointer either l-value inside the function.
#define ae2f_errGlob_FLUSH_FAILED   0b100
 Failed freeing the memory.
#define ae2f_errGlob_ALLOC_FAILED   0b1000
 stdlib allocating functions (malloc, calloc, realloc) has been failed.
#define ae2f_errGlob_WRONG_OPERATION   0b10000
 Found that parameter sent by programmer is invalid. The operation may have been ceased while the middle.
#define ae2f_errGlob_NFOUND   0b100000
 Found some errors, but not by parameters. The operation has failed.
#define ae2f_errGlob_DONE_HOWEV   0b1000000
 Means that error was not critical.
#define ae2f_errGlobNormalised(n)
 Check if the state code is a critical error.

Typedefs

typedef uint8_t ae2f_err_t
 Informs that this number represents the error.

Detailed Description

Those numbers with [ ae2f_err_t ] will be the state.

Author
ae2f
Date
2025-02-01

Definition in file errGlob.h.

Macro Definition Documentation

◆ ae2f_errGlob_ALLOC_FAILED

#define ae2f_errGlob_ALLOC_FAILED   0b1000

stdlib allocating functions (malloc, calloc, realloc) has been failed.

Definition at line 40 of file errGlob.h.

◆ ae2f_errGlob_DONE_HOWEV

#define ae2f_errGlob_DONE_HOWEV   0b1000000

Means that error was not critical.

The operation went done.
Note that operation may not be valid.

Definition at line 57 of file errGlob.h.

◆ ae2f_errGlob_FLUSH_FAILED

#define ae2f_errGlob_FLUSH_FAILED   0b100

Failed freeing the memory.

Definition at line 36 of file errGlob.h.

◆ ae2f_errGlob_IMP_NOT_FOUND

#define ae2f_errGlob_IMP_NOT_FOUND   0b1

Failed to find the function on preprocessor which is callable for some reason No operation has beed done.

Definition at line 28 of file errGlob.h.

◆ ae2f_errGlob_NFOUND

#define ae2f_errGlob_NFOUND   0b100000

Found some errors, but not by parameters. The operation has failed.

Definition at line 50 of file errGlob.h.

◆ ae2f_errGlob_OK

#define ae2f_errGlob_OK   0

The Operation you've wanted went successful.

Definition at line 23 of file errGlob.h.

◆ ae2f_errGlob_PTR_IS_NULL

#define ae2f_errGlob_PTR_IS_NULL   0b10

Failed to refer the pointer either l-value inside the function.

Definition at line 32 of file errGlob.h.

◆ ae2f_errGlob_WRONG_OPERATION

#define ae2f_errGlob_WRONG_OPERATION   0b10000

Found that parameter sent by programmer is invalid. The operation may have been ceased while the middle.

Definition at line 45 of file errGlob.h.

◆ ae2f_errGlobNormalised

#define ae2f_errGlobNormalised ( n)
Value:
#define ae2f_errGlob_OK
The Operation you've wanted went successful.
Definition errGlob.h:23
#define ae2f_errGlob_DONE_HOWEV
Means that error was not critical.
Definition errGlob.h:57

Check if the state code is a critical error.

Parameters
n{ae2f_err_t} Error code
Returns
If it is not zero, it is a critical error.

Definition at line 63 of file errGlob.h.

Typedef Documentation

◆ ae2f_err_t

Informs that this number represents the error.

Definition at line 19 of file errGlob.h.