Hacker News new | ask | show | jobs
by pomstazlesa 1044 days ago
It's probably both. Since you want to obscure it from the end user, you can also afford to be lazy and have sloppy implementation.
1 comments

That isn't true, laziness will punch straight through a tight definition of error code handling.

After all if you have three API layers realizing in this situation the second layer isn't forwarding that error code because it erroneously thought it was one you hide behind a generic one is pretty common.