blob: 871efb204daa9d44ccfcf7701a722a14a2d885d8 [file] [log] [blame]
using System;
namespace Casbin
{
internal static class ThrowHelper
{
internal static void ThrowNameNotFoundException()
=> throw new ArgumentException("The name parameter does not exist.");
internal static void ThrowOneOfNamesNotFoundException()
=> throw new ArgumentException("The name1 or name2 parameter does not exist.");
internal static void ThrowNotSupportException(string message)
=> throw new NotSupportedException(message);
}
}