mirror of
https://github.com/babalae/better-genshin-impact
synced 2025-01-08 11:57:53 +08:00
12 lines
214 B
C#
12 lines
214 B
C#
namespace BetterGenshinImpact.Helpers;
|
|
|
|
public class AssertUtils
|
|
{
|
|
public static void IsTrue(bool b, string msg)
|
|
{
|
|
if (!b)
|
|
{
|
|
throw new System.Exception(msg);
|
|
}
|
|
}
|
|
} |