Hacker News new | ask | show | jobs
by Bino 3356 days ago
I think you should have error codes ("enums") all the way and the a way to translate these into error messages. That removes a lot of problems with spelling, changing the error message and interoperability with outers using your package.