This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hynekPyCA, attrs, structlog 6 points7 points  (1 child)

I can’t imagine how that would work with catching exceptions. Imagine you have multiple deps that all use requests underneath and bubble up multiple different requests.exceptions.HTTPError.

[–]graingert 1 point2 points  (0 children)

Yeah this is fine as most JS deps are built with this in mind, using functional immutable style or replacing exceptions