MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::Error::FErrorManager::FDisplayErrorArgs Struct Reference

#include <ErrorManager.h>

Data Fields

bool bAsync = false
 
bool bImportantToRead = false
 
TSharedPtr< const SWidget > Parent = {}
 

Detailed Description

Control how an error is being displayed. Use C++ 20 designated initializers for convenience

Definition at line 42 of file ErrorManager.h.

Field Documentation

◆ bAsync

bool Mcro::Error::FErrorManager::FDisplayErrorArgs::bAsync = false

The error message will not block the engine tick. This is useful for errors happening in the editor so even if PIE session is aborted due to an error, the developer can cross-check their assets with the error still open.

Definition at line 49 of file ErrorManager.h.

◆ bImportantToRead

bool Mcro::Error::FErrorManager::FDisplayErrorArgs::bImportantToRead = false

Enables an extra checkbox which reminds the user to please do not immediately dismiss the error

Definition at line 52 of file ErrorManager.h.

◆ Parent

TSharedPtr<const SWidget> Mcro::Error::FErrorManager::FDisplayErrorArgs::Parent = {}

Optionally set a parent widget for the modal window of the error. By default if not specified here the main editor window is used, or the main gameplay viewport.

Definition at line 58 of file ErrorManager.h.


The documentation for this struct was generated from the following file: