mirror of
https://github.com/alex289/CleanArchitecture.git
synced 2025-06-30 02:31:08 +00:00
16 lines
714 B
C#
16 lines
714 B
C#
namespace CleanArchitecture.Domain.Errors;
|
|
|
|
public static class DomainErrorCodes
|
|
{
|
|
// User Validation
|
|
public const string UserEmptyId = "USER_EMPTY_ID";
|
|
public const string UserEmptySurname = "USER_EMPTY_SURNAME";
|
|
public const string UserEmptyGivenName = "USER_EMPTY_GIVEN_NAME";
|
|
public const string UserEmailExceedsMaxLength = "USER_EMAIL_EXCEEDS_MAX_LENGTH";
|
|
public const string UserSurnameExceedsMaxLength = "USER_SURNAME_EXCEEDS_MAX_LENGTH";
|
|
public const string UserGivenNameExceedsMaxLength = "USER_GIVEN_NAME_EXCEEDS_MAX_LENGTH";
|
|
public const string UserInvalidEmail = "USER_INVALID_EMAIL";
|
|
|
|
// User
|
|
public const string UserAlreadyExists = "USER_ALREADY_EXISTS";
|
|
} |