5

Someone wrote some error handling middleware for the whole application.
Then someone wrote some default classes for HTTP errors; BadRequest, Unauthorized and so on.

If I didn't know any better, I'd think throwing one of these default errors would give the proper status code, instead of default everything to 500.

But alas, I do know better.

Comments
  • 1
    "your mother fed you glue"

    triggered...

    Bonus points if you get the reference.
Add Comment