ConnError
ConnError
Parameters
Examples
Historical usage (now deprecated):
try:
# Network API call
pass
except ConnError as e:
print(f”Connection failed: {e.message}”)
# Check network connectivity or URL configurationmessage : str = 'Unable to reach the given endpoint'
Last updated
Was this helpful?