LANCommander/LANCommander.Server.Services/Exceptions/UserRegistrationException.cs

17 lines
No EOL
435 B
C#

using Microsoft.AspNetCore.Identity;
namespace LANCommander.Server.Services.Exceptions;
public class UserRegistrationException : Exception
{
public IdentityResult IdentityResult { get; set; }
public UserRegistrationException(string message) : base(message)
{
}
public UserRegistrationException(IdentityResult identityResult, string message) : base(message)
{
IdentityResult = identityResult;
}
}