AuroraRuntime/Include/Aurora/Exit/ETriggerLevel.hpp
J Reece Wilson 2371794d47 [+] Linux Exception Handlers and AuExit::ETriggerLevel::eSigQuitNow
[*] Linux stability fixes
[+] AuProcAddresses.UNIX.[cpp/hpp]
2024-03-05 13:55:21 +00:00

29 lines
840 B
C++

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: ETriggerLevel.hpp
Date: 2022-1-30
Author: Reece
***/
#pragma once
namespace Aurora::Exit
{
AUE_DEFINE(ETriggerLevel, (
// Runtime deinitialize
eSafeTermination,
// A fatal exception was caught by the watchdog. The process is on its way out and there's nothing you can do about it.
eFatalException,
// Control+C was sent, termination should follow. Filter with CancelExit.
eSigTerminate,
// Do not attempt to block this signal. Terminal UX or system power events are asserting it's time to go.
eSigQuitNow,
// Something went wrong in the process. These could be frequent depending on the process
eProblematicEvent
));
}