Files
FlaxEngine/Source/Engine/Debug/Exceptions/CLRInnerException.h
T
mafiesto4 e450658834 Remove deprecated mono runtime backend
Old `mono` backend was not maintained for since 1.7 (July 2023)
`dotnet` backend still can run `mono` on AOT platforms but with the latest .NET features.
2026-06-03 16:35:06 +02:00

35 lines
901 B
C++

// Copyright (c) Wojciech Figat. All rights reserved.
#pragma once
#include "Engine/Debug/Exception.h"
#include "Engine/Scripting/Types.h"
namespace Log
{
/// <summary>
/// The exception that is thrown when a method call is invalid in an object's current state.
/// </summary>
class CLRInnerException : public Exception
{
public:
/// <summary>
/// Init
/// </summary>
CLRInnerException()
: CLRInnerException(String::Empty)
{
}
/// <summary>
/// Creates default exception with additional data
/// </summary>
/// <param name="additionalInfo">Additional information that help describe error</param>
CLRInnerException(const String& additionalInfo)
: Exception(TEXT("Current .NET method has thrown an inner exception"), additionalInfo)
{
}
};
}