Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In RFC 7807 all errors get an unique URI. Message texts might change or be translated into a language you don’t understand.


It turns out translating error messages is controversial.

Users, upon hitting an error, often go check Stack Overflow. If you localize your error messages, you Balkanize the collective wisdom on how to address the error (which will always be larger than your team's ability to troubleshoot errors and offer correctives in your documentation and FAQs).


To be precise, each error type gets a unique URI.

A good way to take advantage of that is to have a central database of all error types, but not many companies bother to do that.


> have a central database of all error types

do you have any example?


here's ours for pytype (a python type checker): https://google.github.io/pytype/errors.html




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: