18#include "AException.h"
40class API_AUI_CORE AFatalException:
public AException {
42 using Handler = std::function<void(AFatalException*)>;
46 AString getMessage()
const noexcept override;
59 return mNativeSignalId;
88 handler() = std::move(globalHandler);
93 std::string_view mSignalName;
96 static Handler& handler();
static void setGlobalHandler(Handler globalHandler)
Sets handler for fatal exceptions.
Definition AFatalException.h:87
int nativeSignalId() const
Definition AFatalException.h:58
std::string_view signalName() const
Definition AFatalException.h:65
void * address() const
Definition AFatalException.h:51
Represents a Unicode character string.
Definition AString.h:37