mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2025-05-15 23:34:03 +02:00
14 lines
412 B
C#
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;
|
|
}
|