mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 06:56:33 +02:00
formatted code, removed comments and cluttering debugs, updated error messages
This commit is contained in:
parent
04168419e7
commit
62f3367c26
5 changed files with 15 additions and 40 deletions
|
@ -83,7 +83,9 @@ class NameserverError(Exception):
|
|||
"""
|
||||
|
||||
_error_mapping = {
|
||||
NameserverErrorCodes.MISSING_IP: "Subdomains require an IP address",
|
||||
NameserverErrorCodes.MISSING_IP: (
|
||||
"Using your domain for a name server requires an IP address"
|
||||
),
|
||||
NameserverErrorCodes.GLUE_RECORD_NOT_ALLOWED: (
|
||||
"Name server address does not match domain name"
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue