14#include "CoreMinimal.h"
48 template <CDerivedFrom<std::exception> Exception>
Unreal itself discourages the usage of C++ exceptions and there are also couple of thoughts above IEr...
FCppException(std::exception const &input)
std::exception BaseException
virtual ~FCppException()=default
virtual FStringView GetExceptionType() const
virtual void SerializeMembers(YAML::Emitter &emitter) const override
Override this method if direct members should be serialized differently or extra members are added by...
virtual TSharedRef< SErrorDisplay > CreateErrorWidget() override
Override this function to customize how an error is displaxed for the end-user.
A base class for a structured error handling and reporting with modular architecture and fluent API.
Use this template for catching STL exceptions to preserve the exception type name.
virtual FStringView GetExceptionType() const override
Exception TypedException
Storage for the exception but preserving its actual type. It's copied to this member.
TCppException(Exception const &input)
Contains utilities for structured error handling.
constexpr FStringView TTypeName
Get a friendly string of an input type without using typeid(T).name().