FScriptExceptionHandler

Exception handler stack used for script exceptions.

Windows
MacOS
Linux

Inheritance Hierarchy

FTlsAutoCleanup

TThreadSingleton

FScriptExceptionHandler

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/CoreMisc.h

Include

#include "Misc/CoreMisc.h"

Syntax

class FScriptExceptionHandler : public TThreadSingleton< FScriptExceptionHandler >

Remarks

Exception handler stack used for script exceptions.

Functions

Name Description

Public function Static

void

 

AssertionExceptionHandler

(
    ELogVerbosity::Type Verbosity,
    const TCHAR* ExceptionMessage,
    const TCHAR* StackMessage
)

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

Public function Static

FScriptExcep...

 

Get()

Get the exception handler for the current thread

Public function

void

 

HandleException

(
    ELogVerbosity::Type Verbosity,
    const TCHAR* ExceptionMessage,
    const TCHAR* StackMessage
)

Handle an exception using the active exception handler

Public function Static

void

 

LoggingExceptionHandler

(
    ELogVerbosity::Type Verbosity,
    const TCHAR* ExceptionMessage,
    const TCHAR* StackMessage
)

Handler for a script exception that emits a log message

Public function

void

 

PopExceptionHandler()

Pop an exception handler from the stack

Public function

void

 

PushExceptionHandler

(
    const FScriptExceptionHandlerFunc&...
)

Push an exception handler onto the stack

Constants

Name

Description

DefaultExceptionHandler

Default script exception handler

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss