17 lines
No EOL
435 B
C#
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;
|
|
}
|
|
} |