mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 13:11:10 +00:00
19 lines
717 B
C#
19 lines
717 B
C#
#region ========================================================================= USING =====================================================================================
|
|
using Lumina.Domain.Common.Primitives;
|
|
#endregion
|
|
|
|
namespace Lumina.Domain.Common.Errors;
|
|
|
|
/// <summary>
|
|
/// Users error types.
|
|
/// </summary>
|
|
public static partial class Errors
|
|
{
|
|
public static class Users
|
|
{
|
|
public static Error UserAlreadyExists => Error.Conflict(description: nameof(UserAlreadyExists));
|
|
public static Error UserDoesNotExist => Error.NotFound(description: nameof(UserDoesNotExist));
|
|
public static Error UserIdCannotBeEmpty => Error.Validation(description: nameof(UserIdCannotBeEmpty));
|
|
}
|
|
}
|