AlexIT@programming.dev to Programming@programming.devEnglish · 3 months agoWhy I Prefer Exceptions to Error Valuescedardb.comexternal-linkmessage-square51fedilinkarrow-up171arrow-down111
arrow-up160arrow-down1external-linkWhy I Prefer Exceptions to Error Valuescedardb.comAlexIT@programming.dev to Programming@programming.devEnglish · 3 months agomessage-square51fedilink
minus-squareOpisek@lemmy.worldlinkfedilinkarrow-up1·3 months agoWhy would it be 200? Imo it should be either 400 or 401.
minus-squareGetOffMyLan@programming.devlinkfedilinkarrow-up2·edit-23 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.