I would expect
httpError(500, httpError(402)).statusCode
to be 500, but it's 402.
(The use case here is that I have a try/catch statement that turns all exceptions into HTTP 500s by default, and it's not working correctly when the original exception is already an httpError.)