|
FOSSredder 0.5.0
|
Declares helpers for turning exceptions into structured error events. More...
#include "core/errors/ErrorCodes.h"#include "core/errors/ErrorEvent.h"#include <exception>#include <string>#include <typeinfo>#include <utility>

Go to the source code of this file.
Namespaces | |
| namespace | core |
| namespace | core::errors |
Functions | |
| const char * | core::errors::severityToString (ErrorSeverity severity) noexcept |
| Convert an error severity to a stable lowercase label. | |
| ErrorEvent | core::errors::makeExceptionEvent (ErrorSeverity severity, const char *code, const char *origin, std::exception_ptr exception, ErrorContext context={}) |
| Build a structured event from an exception pointer. | |
Declares helpers for turning exceptions into structured error events.
Definition in file ErrorEventFactory.h.