UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FScriptExceptionHandler Class Reference

#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 FScriptExceptionHandlerGet ()
 
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 FScriptExceptionHandlerGet ()
 
static FORCEINLINE FScriptExceptionHandlerGet (TFunctionRef< FTlsAutoCleanup *()> CreateInstance)
 
static FORCEINLINE FScriptExceptionHandlerTryGet ()
 
static FORCEINLINE FScriptExceptionHandlerInject (FScriptExceptionHandler *Instance)
 

Additional Inherited Members

- Protected Member Functions inherited from TThreadSingleton< FScriptExceptionHandler >
 TThreadSingleton ()
 
virtual ~TThreadSingleton ()
 
- Static Protected Member Functions inherited from TThreadSingleton< FScriptExceptionHandler >
static FTlsAutoCleanupCreateInstance ()
 
- Protected Attributes inherited from TThreadSingleton< FScriptExceptionHandler >
const uint32 ThreadId
 

Detailed Description

Exception handler stack used for script exceptions.

Member Function Documentation

◆ AssertionExceptionHandler()

void FScriptExceptionHandler::AssertionExceptionHandler ( ELogVerbosity::Type  Verbosity,
const TCHAR ExceptionMessage,
const TCHAR StackMessage 
)
static

Handler for a script exception that emits an ensure (for warnings or errors)

◆ Get()

FScriptExceptionHandler & FScriptExceptionHandler::Get ( )
static

Get the exception handler for the current thread

◆ HandleException()

void FScriptExceptionHandler::HandleException ( ELogVerbosity::Type  Verbosity,
const TCHAR ExceptionMessage,
const TCHAR StackMessage 
)

Handle an exception using the active exception handler

◆ LoggingExceptionHandler()

void FScriptExceptionHandler::LoggingExceptionHandler ( ELogVerbosity::Type  Verbosity,
const TCHAR ExceptionMessage,
const TCHAR StackMessage 
)
static

Handler for a script exception that emits a log message

◆ PopExceptionHandler()

void FScriptExceptionHandler::PopExceptionHandler ( )

Pop an exception handler from the stack

◆ PushExceptionHandler()

void FScriptExceptionHandler::PushExceptionHandler ( const FScriptExceptionHandlerFunc InFunc)

Push an exception handler onto the stack


The documentation for this class was generated from the following files: