Badminton-Scoreboard/Libraries/libil2cpp/include/utils/Exception.h

23 lines
609 B
C
Raw Normal View History

2023-10-08 02:24:48 +00:00
#pragma once
#include "il2cpp-config.h"
#include <string>
struct Il2CppException;
#include "Baselib.h"
#include "C/Baselib_ErrorState.h"
namespace il2cpp
{
namespace utils
{
class LIBIL2CPP_CODEGEN_API Exception
{
public:
static std::string FormatException(const Il2CppException* ex);
static std::string FormatStackTrace(const Il2CppException* ex);
static std::string FormatInvalidCastException(const Il2CppClass* fromType, const Il2CppClass* toType);
static std::string FormatBaselibErrorState(const Baselib_ErrorState& errorState);
};
} // utils
} // utils