1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-05-15 23:34:03 +02:00
Minecraft-Phantom-Panel/Controller/Phantom.Controller.Services/Users/SetUserPasswordError.cs

14 lines
412 B
C#

using System.Collections.Immutable;
namespace Phantom.Controller.Services.Users;
public abstract record SetUserPasswordError {
private SetUserPasswordError() {}
public sealed record UserNotFound : SetUserPasswordError;
public sealed record PasswordIsInvalid(ImmutableArray<PasswordRequirementViolation> Violations) : SetUserPasswordError;
public sealed record UnknownError : SetUserPasswordError;
}