ae2f_docs
Loading...
Searching...
No Matches
errGlob.h File Reference

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

#include "./c90/StdInt.h"

Go to the source code of this file.

Macros

#define ae2f_errGlobNormalised(n)
 Check if the state code is a critical error.

Typedefs

typedef uint_least8_t ae2f_err_t
 Least integer type to store the error value.

Enumerations

enum  ae2f_errGlob {
  ae2f_errGlob_OK = 0 , ae2f_errGlob_IMP_NOT_FOUND = 1 , ae2f_errGlob_PTR_IS_NULL = 2 , ae2f_errGlob_FLUSH_FAILED = 4 ,
  ae2f_errGlob_ALLOC_FAILED = 8 , ae2f_errGlob_WRONG_OPERATION = 16 , ae2f_errGlob_NFOUND = 32 , ae2f_errGlob_DONE_HOWEV = 64 ,
  ae2f_errGlob_
}

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_errGlobNormalised

#define ae2f_errGlobNormalised ( n)
Value:
@ ae2f_errGlob_OK
Success.
Definition errGlob.h:30
@ ae2f_errGlob_DONE_HOWEV
Operation has finished.
Definition errGlob.h:51

Check if the state code is a critical error.

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

Definition at line 65 of file errGlob.h.

Typedef Documentation

◆ ae2f_err_t

typedef uint_least8_t ae2f_err_t

Least integer type to store the error value.

See also
ae2f_errGlob

Definition at line 22 of file errGlob.h.

Enumeration Type Documentation

◆ ae2f_errGlob

Enumerator
ae2f_errGlob_OK 

Success.

ae2f_errGlob_IMP_NOT_FOUND 

Implementation not found (not expected).

ae2f_errGlob_PTR_IS_NULL 

Null Pointer Exception.

ae2f_errGlob_FLUSH_FAILED 

Releasing, flushing, etc has been failed.

ae2f_errGlob_ALLOC_FAILED 

Allocation has failed.

ae2f_errGlob_WRONG_OPERATION 16 

Wrong Ooperation.

ae2f_errGlob_NFOUND 32 

Error for another reason, such as low level. (See another status value.).

ae2f_errGlob_DONE_HOWEV 64 

Operation has finished.

Definition at line 28 of file errGlob.h.