835
you are viewing a single comment's thread
view the rest of the comments
[-] douglasg14b@lemmy.world -1 points 11 months ago

Counter argument is that error codes and problem details can be used by attackers to reverse engineer and find exploitable parts of a system.

Within reason anyways

[-] Feathercrown@lemmy.world 10 points 11 months ago

So can a 200 response with an error description

[-] brian@programming.dev 2 points 11 months ago

yeah, ofc it should only be a curated set of errors where the consumer can do something about it. unknown errors should just be opaque 500s

this post was submitted on 14 Sep 2025
835 points (99.3% liked)

Programmer Humor

33033 readers
2218 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS