News for hackers. Stuff that matters.
Re:Write Better Error Messages by BerislavLopac on Wednesday October 19, 2022 @12:17PM (#33264365)
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.

Re:Write Better Error Messages by mi_lk on Wednesday October 19, 2022 @12:43PM (#33264729)
> have a central database of all error types

do you have any example?

Re:Write Better Error Messages by zem on Wednesday October 19, 2022 @01:01PM (#33264942)
here's ours for pytype (a python type checker): https://google.github.io/pytype/errors.html