should expose symbolic names for http errors
Bug #735332 reported by
Martin Pool
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lazr.restfulclient |
Triaged
|
Low
|
Unassigned |
Bug Description
I would like to be able to write something like
except Forbidden:
continue
rather than
except HTTPError, e:
if e.response.status == 403:
continue
else:
raise
Changed in lazr.restfulclient: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: feature |
To post a comment you must log in.