Files
OpenFlare/internal/apps/openflare/zone/errs.go
T

20 lines
934 B
Go

// Copyright 2026 Arctel.net
// SPDX-License-Identifier: Apache-2.0
package zone
const (
errZoneDomainRequired = "domain name must not be empty"
errZoneRootInvalid = "zone must be a valid registered root domain"
errDomainInvalid = "invalid domain name format"
errDomainWildcardUnsupported = "wildcard domain names are not supported"
errDomainOutsideZone = "domain does not belong to this zone"
errZoneNotFound = "Zone was not found"
errDomainNotFound = "Domain was not found"
errDomainExists = "domain already exists"
errCertificateNotFound = "selected certificate was not found"
errDomainBoundToRoute = "domain is bound to a proxy route; remove the binding first"
errZoneHasDomains = "root domain still contains domains; delete them all first"
errStatsRangeInvalid = "invalid time range; select 24h, 7d or 30d"
)