![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <CoreMisc.h>
Inheritance diagram for FScriptExceptionHandler:Public Member Functions | |
| CORE_API void | PushExceptionHandler (const FScriptExceptionHandlerFunc &InFunc) |
| CORE_API void | PopExceptionHandler () |
| CORE_API void | HandleException (ELogVerbosity::Type Verbosity, const TCHAR *ExceptionMessage, const TCHAR *StackMessage) |
Public Member Functions inherited from FTlsAutoCleanup | |
| virtual | ~FTlsAutoCleanup () |
| CORE_API void | Register () |
Static Public Member Functions | |
| static CORE_API FScriptExceptionHandler & | Get () |
| static CORE_API void | AssertionExceptionHandler (ELogVerbosity::Type Verbosity, const TCHAR *ExceptionMessage, const TCHAR *StackMessage) |
| static CORE_API void | LoggingExceptionHandler (ELogVerbosity::Type Verbosity, const TCHAR *ExceptionMessage, const TCHAR *StackMessage) |
Static Public Member Functions inherited from TThreadSingleton< FScriptExceptionHandler > | |
| static FORCEINLINE FScriptExceptionHandler & | Get () |
| static FORCEINLINE FScriptExceptionHandler & | Get (TFunctionRef< FTlsAutoCleanup *()> CreateInstance) |
| static FORCEINLINE FScriptExceptionHandler * | TryGet () |
| static FORCEINLINE FScriptExceptionHandler * | Inject (FScriptExceptionHandler *Instance) |
Additional Inherited Members | |
Protected Member Functions inherited from TThreadSingleton< FScriptExceptionHandler > | |
| TThreadSingleton () | |
| virtual | ~TThreadSingleton () |
Static Protected Member Functions inherited from TThreadSingleton< FScriptExceptionHandler > | |
| static FTlsAutoCleanup * | CreateInstance () |
Protected Attributes inherited from TThreadSingleton< FScriptExceptionHandler > | |
| const uint32 | ThreadId |
Exception handler stack used for script exceptions.
|
static |
Handler for a script exception that emits an ensure (for warnings or errors)
|
static |
Get the exception handler for the current thread
| void FScriptExceptionHandler::HandleException | ( | ELogVerbosity::Type | Verbosity, |
| const TCHAR * | ExceptionMessage, | ||
| const TCHAR * | StackMessage | ||
| ) |
Handle an exception using the active exception handler
|
static |
Handler for a script exception that emits a log message
| void FScriptExceptionHandler::PopExceptionHandler | ( | ) |
Pop an exception handler from the stack
| void FScriptExceptionHandler::PushExceptionHandler | ( | const FScriptExceptionHandlerFunc & | InFunc | ) |
Push an exception handler onto the stack