Closed bigoper closed 6 years ago
You can import the exception and catch it like you would any other exception. Something like:
from rets.errors import RetsApiError
try:
rets_client.search(...)
except RetsApiError as e:
print('caught code %i!' % e.reply_code)
Is this what you meant?
Yes. Thank you!!!
Hi All,
How do I catch the RetsApiError? It's not being recognized.
Thanks.