this post was submitted on 14 Sep 2025
820 points (99.4% liked)

Programmer Humor

26372 readers
1269 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] douglasg14b@lemmy.world 0 points 2 days ago (2 children)

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 9 points 2 days ago

So can a 200 response with an error description

[โ€“] brian@programming.dev 2 points 1 day 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