29 lines
840 B
C++
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
|
|
));
|
|
} |