LibHac/tests/LibHac.Tests/DebugAssertHandler.cs

12 lines
254 B
C#
Raw Normal View History

using System.Diagnostics;
2021-11-14 20:08:57 +01:00
namespace LibHac.Tests;
public class DebugAssertHandler : DefaultTraceListener
{
2021-11-14 20:08:57 +01:00
public override void Fail(string message, string detailMessage)
{
2021-11-14 20:08:57 +01:00
throw new LibHacException(message + detailMessage);
}
}