AlexIT@programming.dev to Programming@programming.devEnglish · 2 months agoWhy I Prefer Exceptions to Error Valuescedardb.comexternal-linkmessage-square50fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkWhy I Prefer Exceptions to Error Valuescedardb.comAlexIT@programming.dev to Programming@programming.devEnglish · 2 months agomessage-square50fedilink
minus-squareOpisek@lemmy.worldlinkfedilinkarrow-up0·2 months agoWhy would it be 200? Imo it should be either 400 or 401.
minus-squareGetOffMyLan@programming.devlinkfedilinkarrow-up0·edit-22 months agoI 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.
Why would it be 200? Imo it should be either 400 or 401.
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.