![]() |
Elementa v8.0.0
Minimalistic library for any C++ application (C++11 and up)
|
#include "elementa/license.inc"#include "elementa/checks.inc"#include <exception>#include <string>#include <sstream>#include <iomanip>#include "elementa/base/debugging.h"

Go to the source code of this file.
Classes | |
| class | elementa::base::Exc |
| Base class for all errors / exceptions in Elementa. Just derive from it. More... | |
| class | elementa::base::unimplemented |
| Exception for indicating in runtime that a section of code is unimplemented. More... | |
| class | elementa::base::todo |
| Exception for indicating in runtime that a section of code is TODO. More... | |
| class | elementa::base::notreach |
| Exception for indicating in runtime that a code should not be reached. More... | |
| class | elementa::base::invstate |
| Exception for indicating that some object is in invalid state. More... | |
| class | elementa::base::internal_error |
| Exception for indicating some internal error not caused by user of object. More... | |
| class | elementa::base::notfound |
| Exception for indicating that some element has not been found in some place. More... | |
| class | elementa::base::invarg |
| Exception for indicating that some argument of a method/function is invalid. More... | |
| class | elementa::base::outofrange |
| Exception for indicating that some value is out of range. More... | |
Macros | |
| #define | ELE_CLASS_EXCOVERRIDE(C) |
| Shortening macro that must be used inside classes derived from Exc. More... | |
| #define | ELE_CODE_UNIMPLEMENTED |
| To throw an unimplemented exception. More... | |
| #define | ELE_CODE_TODO(expl) |
| To throw a TODO exception. More... | |
| #define | ELE_CODE_NOTREACH |
| To throw a should-not-reach-here exception. More... | |
| #define | ELE_CODE_INTERNALERR(expl) |
| To throw an internal-error exception with an explanation. More... | |
| #define | ELE_CODE_INVSTATE(expl) |
| To throw an invalid-state exception with an explanation. More... | |
| #define | ELE_CODE_INVARG(expl) |
| To throw an invalid-argument exception with an explanation. More... | |
| #define | ELE_CODE_OUTOFRANGE(expl) |
| To throw an out-of-range exception with an explanation. More... | |
| #define | ELE_CODE_NOTFOUND(expl) |
| To throw a not-found exception with an explanation. More... | |