MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
CppException.h File Reference
#include "CoreMinimal.h"
#include "Mcro/Error.h"
#include <exception>

Go to the source code of this file.

Data Structures

class  Mcro::Error::FCppException
 Unreal itself discourages the usage of C++ exceptions and there are also couple of thoughts above IError why that's the case. However, there are third-party libraries which may require their users to catch errors, their functions may, yield via exceptions. For this reason there's an IError wrapper around std::exception base class which however will not preserve the actual type of the caught exception. For that use TCppException template. More...
 
class  Mcro::Error::TCppException< Exception >
 Use this template for catching STL exceptions to preserve the exception type name. More...
 

Namespaces

namespace  Mcro
 
namespace  Mcro::Error
 Contains utilities for structured error handling.
 

Detailed Description

Author
David Mórász
Date
2025

Definition in file CppException.h.