• tiredofsametab@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    me with gRPC error codes: nil, paramter error, app error – OK, you fucked up, we fucked up. Edit: forgot NotFound.

    I really should read about the various ones that exist at some point, but I’ve always got bigger fires to put out.

    • dan@upvote.au
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      This is basically the difference between HTTP 4xx and 5xx error codes. 4xx means the client did something wrong (invalid request, tried to load something that doesn’t exist, doesn’t have access), whereas 5xx means the request was OK but something broke on the server.