Why I Prefer Exceptions to Error Values - eviltoast
    • GetOffMyLan@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      2 months ago

      I think with http request failures losing the status code can be a real pain. There’s a big difference between 400, 401, 404 and 500 for instance.