News for hackers. Stuff that matters.
Re:HTTP 402: Payment Required by heavenlyblue on Sunday February 02, 2020 @05:34AM (#22216278)
Also many libraries are built by throwing exceptions for non-200 error codes.
Re:HTTP 402: Payment Required by JohnBooty on Wednesday February 05, 2020 @01:21AM (#22244461)
No conflict there.

For SOAP stuff, an exception on 4xx/5xx is generally a sensible design.

For human user-agents (ie, web browsers) there's still no conflict. Deciding whether or not to render some HTML is orthogonal to whether or not some other action might be taken. Generally, you do want to present a choice to the user at this point.