This looks so over-engineered. Most of the time you only need an error message. Make the message clear enough so that it can be shown to the end user.
- 0 Posts
- 4 Comments
Joined 2 years ago
Cake day: July 2nd, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
darvit@lemmy.darvit.nlto Programmer Humor@programming.dev•[No PHPun Intended] A Brief History of Web Development1·2 months agoEveryone in this thread: PHP sucks because it was bad when I last used it 20 years ago.
darvit@lemmy.darvit.nlto Programmer Humor@programming.dev•[No PHPun Intended] A Brief History of Web Development1·2 months agoWell better late than never.
Exactly! This is why the server should just send a clear error message. 99% of the time the client just wants to show the error message to the end user, and not have to wrangle all kinds of normalized data into one.