first commit

This commit is contained in:
2025-02-26 23:42:19 +01:00
commit 777ea98be1
283 changed files with 88266 additions and 0 deletions
@@ -0,0 +1,34 @@
namespace OpenWarehouse.auth.api.Common.Exemptions;
public class AccountExemptions : Exception
{
private Dictionary<string, string> _otherProblem;
private string _message;
private bool _accountExist;
public bool AccountExist
{
get => _accountExist;
set => _accountExist = value;
}
public string Message
{
get => _message;
set => _message = value;
}
public Dictionary<string, string> OtherProblem
{
get => _otherProblem;
set => _otherProblem = value;
}
public AccountExemptions(bool accountExist, string message, Dictionary<string, string>? otherProblem = null)
{
_otherProblem = otherProblem ?? new Dictionary<string, string>();
_accountExist = accountExist;
_message = message;
}
}