MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
SPlainTextDisplay.h
Go to the documentation of this file.
1/** @noop License Comment
2 * @file
3 * @copyright
4 * This Source Code is subject to the terms of the Mozilla Public License, v2.0.
5 * If a copy of the MPL was not distributed with this file You can obtain one at
6 * https://mozilla.org/MPL/2.0/
7 *
8 * @author David Mórász
9 * @date 2025
10 */
11
12#pragma once
13
14#include "CoreMinimal.h"
15#include "Widgets/SCompoundWidget.h"
17
18namespace Mcro::Error
19{
20 /** @brief Displaying error components which just provide a block of text (like a stack-trace) */
21 class MCRO_API SPlainTextDisplay : public SErrorDisplay
22 {
23 public:
26 SLATE_END_ARGS()
27
28 void Construct(const FArguments& inArgs);
29 };
30}
Base class for displaying Mcro::Error::IError objects to the user.
Displaying error components which just provide a block of text (like a stack-trace)
SLATE_ARGUMENT(IErrorPtr, Error)
Contains utilities for structured error handling.
Definition Error.Fwd.h:19
TSharedPtr< IError > IErrorPtr
Convenience alias for an instance of an error.
Definition Error.Fwd.h:26