consolidate delete domain function

This commit is contained in:
matthewswspence 2024-12-11 10:11:05 -06:00
parent e87c4f78f1
commit 1a9b671758
No known key found for this signature in database
GPG key ID: FB458202A7852BA4
4 changed files with 143 additions and 161 deletions

View file

@ -62,7 +62,7 @@ class RegistryError(Exception):
- 2501 - 2502 Something malicious or abusive may have occurred
"""
def __init__(self, *args, code=None, note=None,**kwargs):
def __init__(self, *args, code=None, note="",**kwargs):
super().__init__(*args, **kwargs)
self.code = code
# note is a string that can be used to provide additional context