aboutsummaryrefslogtreecommitdiff
path: root/services/domain/messages.go
blob: c27951133a1bf03fe5335654158b6e7e778a06a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package domain

const (
	DomainAlreadyExists  = "A domain with this name already exists under this TLD."
	DomainCreationFailed = "Failed to create domain."
	DomainDeletionFailed = "Failed to delete domain."
	DomainHasMailboxes   = "Cannot delete a domain that has mailboxes. Remove all mailboxes first."
	DomainNameInvalid    = "Domain name must contain only lowercase letters, numbers, and hyphens."
	DomainNameRequired   = "Domain name is required."
	DomainNotFound       = "Domain not found."
	DomainTLDRequired    = "A TLD must be selected for the domain."
	TLDAlreadyExists     = "A TLD with this name already exists."
	TLDCreationFailed    = "Failed to create TLD."
	TLDDeletionFailed    = "Failed to delete TLD."
	TLDHasDomains        = "Cannot delete a TLD that has registered domains. Remove all domains first."
	TLDNameInvalid       = "TLD name must contain only lowercase letters, numbers, and hyphens."
	TLDNameRequired      = "TLD name is required."
	TLDNotFound          = "TLD not found."
	TLDProtected         = "Default TLDs cannot be deleted."
	TLDUpdateFailed      = "Failed to update TLD."
)