AlexIT@programming.dev to Programming@programming.devEnglish · 2 years agoWhy I Prefer Exceptions to Error Valuescedardb.comexternal-linkmessage-square51linkfedilinkarrow-up172arrow-down110
arrow-up162arrow-down1external-linkWhy I Prefer Exceptions to Error Valuescedardb.comAlexIT@programming.dev to Programming@programming.devEnglish · 2 years agomessage-square51linkfedilink
minus-squareGetOffMyLan@programming.devlinkfedilinkarrow-up2·2 years 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.
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.