by Aeseir · 1w ago · 0 comments
Users need to only know IF they can do something about it e.g. you forgot input.
Past that point it not only becomes noise but its a big nono from security perspective. Attackers can use that information.
It's good to inform users why something failed, even if they can't do anything about it. For example, if a post was just removed, it's better to show "Failed to like: the post no longer exists" instead of a generic "Failed to like". Otherwise, the user will just keep trying to like the post again, and again, without understanding why it doesn't work.
I'm not even going to waste my time commenting on that "security perspective" part of your comment. What an insane take.