Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetSystemLibrary
Description
Raises an error in the form of a Blueprint exception. Logs the error to the Output and Message Log with information pertaining to where the error was raised.
| Name | RaiseScriptError |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h |
| Include Path | #include "Kismet/KismetSystemLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Utilities|Debugging",
Meta=(Keywords="raise error", DevelopmentOnly))
static void RaiseScriptError
(
const FString & ErrorMessage
)
Parameters
| Name | Remarks |
|---|---|
| ErrorMessage | The error message to display |