Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

python requests exceptions

try:
    r = requests.get(url, params={'s': thing})
except requests.exceptions.RequestException as e:  # This is the correct syntax
    raise SystemExit(e)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #requests #exceptions
ADD COMMENT
Topic
Name
7+7 =