ae2f::Core
Loading...
Searching...
No Matches
errGlob.h File Reference
#include "Cast.h"
#include <stdint.h>

Go to the source code of this file.

Macros

#define ae2f_errGlob_OK   ae2f_static_cast(ae2f_errint_t, 0)
 The Operation you've wanted went successful.

 
#define ae2f_errGlob_IMP_NOT_FOUND   ae2f_static_cast(ae2f_errint_t, 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   ae2f_static_cast(ae2f_errint_t, 0b10)
 Failed to refer the pointer either l-value inside the function.
 
#define ae2f_errGlob_FLUSH_FAILED   ae2f_static_cast(ae2f_errint_t, 0b100)
 Failed freeing the memory.
 
#define ae2f_errGlob_ALLOC_FAILED   ae2f_static_cast(ae2f_errint_t, 0b1000)
 stdlib allocating functions (malloc, calloc, realloc) has been failed.
 
#define ae2f_errGlob_WRONG_OPERATION   ae2f_static_cast(ae2f_errint_t, 0b10000)
 Found that parameter sent by programmer is invalid. The operation may have been ceased while the middle.
 
#define ae2f_errGlob_NFOUND   ae2f_static_cast(ae2f_errint_t, 0b100000)
 Found some errors, but not by parameters. The operation has failed.
 
#define ae2f_errGlob_DONE_HOWEV   ae2f_static_cast(ae2f_errint_t, 0b1000000)
 The operation went done. Note that operation may not be valid.
 

Typedefs

typedef uint8_t ae2f_errint_t
 Informs that this number represents the error.
 

Variables

ae2f_extern ae2f_errint_t ae2f_errGlob_LastErr
 

Macro Definition Documentation

◆ ae2f_errGlob_ALLOC_FAILED

#define ae2f_errGlob_ALLOC_FAILED   ae2f_static_cast(ae2f_errint_t, 0b1000)

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

◆ ae2f_errGlob_DONE_HOWEV

#define ae2f_errGlob_DONE_HOWEV   ae2f_static_cast(ae2f_errint_t, 0b1000000)

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

◆ ae2f_errGlob_FLUSH_FAILED

#define ae2f_errGlob_FLUSH_FAILED   ae2f_static_cast(ae2f_errint_t, 0b100)

Failed freeing the memory.

◆ ae2f_errGlob_IMP_NOT_FOUND

#define ae2f_errGlob_IMP_NOT_FOUND   ae2f_static_cast(ae2f_errint_t, 0b1)

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

◆ ae2f_errGlob_NFOUND

#define ae2f_errGlob_NFOUND   ae2f_static_cast(ae2f_errint_t, 0b100000)

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

◆ ae2f_errGlob_OK

#define ae2f_errGlob_OK   ae2f_static_cast(ae2f_errint_t, 0)

The Operation you've wanted went successful.

◆ ae2f_errGlob_PTR_IS_NULL

#define ae2f_errGlob_PTR_IS_NULL   ae2f_static_cast(ae2f_errint_t, 0b10)

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

◆ ae2f_errGlob_WRONG_OPERATION

#define ae2f_errGlob_WRONG_OPERATION   ae2f_static_cast(ae2f_errint_t, 0b10000)

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

Typedef Documentation

◆ ae2f_errint_t

typedef uint8_t ae2f_errint_t

Informs that this number represents the error.

Variable Documentation

◆ ae2f_errGlob_LastErr

ae2f_extern ae2f_errint_t ae2f_errGlob_LastErr

For C++ Deconstructors

When the end of the lifecycle for C++ objects builtins, the error code will stored here.