![]() |
MCRO
C++23 utilities for Unreal Engine.
|
Control how an error is being displayed. Use C++ 20 designated initializers for convenience. More...
#include <ErrorManager.h>
Data Fields | |
| bool | 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. | |
| bool | bImportantToRead = false |
| Enables an extra checkbox which reminds the user to please do not immediately dismiss the error. | |
| bool | bBreakDebugger = true |
| Set this to false if for any reason you don't need the debugger to break before displaying the error to the user. | |
| bool | bLogError = true |
| Set this to false if for any reason you don't need the error to be logged before displaying it to the user. | |
| TSharedPtr< const SWidget > | 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. | |
Control how an error is being displayed. Use C++ 20 designated initializers for convenience.
Definition at line 27 of file ErrorManager.h.
| bool Mcro::Error::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 35 of file ErrorManager.h.
| bool Mcro::Error::FDisplayErrorArgs::bBreakDebugger = true |
Set this to false if for any reason you don't need the debugger to break before displaying the error to the user.
Definition at line 45 of file ErrorManager.h.
| bool Mcro::Error::FDisplayErrorArgs::bImportantToRead = false |
Enables an extra checkbox which reminds the user to please do not immediately dismiss the error.
Definition at line 38 of file ErrorManager.h.
| bool Mcro::Error::FDisplayErrorArgs::bLogError = true |
Set this to false if for any reason you don't need the error to be logged before displaying it to the user.
Definition at line 51 of file ErrorManager.h.
| TSharedPtr<const SWidget> Mcro::Error::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.