Better error handling for EPP

This commit is contained in:
Seamus Johnston 2023-05-24 15:41:52 -05:00
parent 0b5f90762a
commit a40146a914
No known key found for this signature in database
GPG key ID: 2F21225985069105
3 changed files with 100 additions and 30 deletions

View file

@ -43,10 +43,15 @@ except NameError:
# Attn: these imports should NOT be at the top of the file
try:
from .client import CLIENT, commands
from .errors import RegistryError, ErrorCode
from epplib.models import common
except ImportError:
pass
__all__ = [
"CLIENT",
"commands",
"common",
"ErrorCode",
"RegistryError",
]