this post was submitted on 14 Sep 2025
779 points (99.6% liked)

Programmer Humor

27117 readers
1114 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
[โ€“] TomasEkeli@programming.dev 42 points 1 month ago (12 children)

Please, please, please, PLEASE return error-codes and problem-details.

Here's the RFC: https://www.rfc-editor.org/rfc/rfc9457.html

[โ€“] douglasg14b@lemmy.world -1 points 1 month 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

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

load more comments (1 replies)
load more comments (10 replies)