AlexIT to [email protected]English • 2 months agoWhy I Prefer Exceptions to Error Valuescedardb.commessage-square42fedilinkarrow-up171arrow-down111
arrow-up160arrow-down1external-linkWhy I Prefer Exceptions to Error Valuescedardb.comAlexIT to [email protected]English • 2 months agomessage-square42fedilink
minus-square@[email protected]linkfedilink2•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.