• chattre@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 hours ago

    “Something went wrong.”

    motherfucker I will OPEN UP THE NETWORK INSPECT TAB AND FIGURE OUT WHAT WENT WRONG.

        • 123@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          3 hours ago

          Had manager that wanted us to return error codes on a field of an API response along with an HTTP 200 because “errors bad”. It needed a few of us to make him understand how that worked against common design patterns and you still had to handle error codes since you didn’t know if the error would be coming from the app, web server, api gateway, local network (no internet), etc.