2
3
4
5
6
7
8
9
10#ifndef ae2f_errGlob_hpp
11#define ae2f_errGlob_hpp
44 ?
"Failed to find the function on preprocessor which is "
46 "for some reason No operation has beed done."
48 ?
"Failed to refer the pointer either l-value inside the "
52 ?
"stdlib allocating functions (malloc, calloc, realloc) has "
56 ?
"Found that parameter sent by programmer is invalid. The "
57 "operation may have been ceased while the middle."
59 ?
"Found some errors, but not by parameters. The operation has "
62 ?
"The operation went done. Note that operation may not be "
64 : (
code) ?
"Unexpected flag."
65 :
"The operation went done.";
80 inline std::string
msgall()
const noexcept;
85 std::string rtn =
"Following shows the error flag enabled.";
106 const std::string msg;
108 inline errGlobThrown(
const ae2f_err_t c)
noexcept
111 inline virtual const char *what()
const noexcept override {
#define constextendedmethod
constextendedmethod const rBitVec< t > FndOne() const noexcept
constexprmethod rBitVec(const t &obj) noexcept
#define ae2f_errGlob_ALLOC_FAILED
stdlib allocating functions (malloc, calloc, realloc) has been failed.
#define ae2f_errGlob_NFOUND
Found some errors, but not by parameters. The operation has failed.
#define ae2f_errGlob_DONE_HOWEV
Means that error was not critical.
#define ae2f_errGlob_WRONG_OPERATION
Found that parameter sent by programmer is invalid. The operation may have been ceased while the midd...
uint8_t ae2f_err_t
Informs that this number represents the error.
#define ae2f_errGlob_PTR_IS_NULL
Failed to refer the pointer either l-value inside the function.
#define ae2f_errGlob_FLUSH_FAILED
Failed freeing the memory.
#define ae2f_errGlobNormalised(n)
Check if the state code is a critical error.
#define ae2f_errGlob_IMP_NOT_FOUND
Failed to find the function on preprocessor which is callable for some reason No operation has beed d...
This namespace contains the class from this library.
static errGlobState errGlobStateWithThrow(ae2f_err_t a)
It is a constructor, which will throw it is a state critical.
constexprmethod const char * peek() const noexcept
Gets one.
constextendedmethod errGlobState pop() const noexcept
Pops an error with an error type.
std::string msgall() const noexcept
Generates the error message.
constexprmethod errGlobState(ae2f_err_t a) noexcept