How about standard Error Codes?

I like the idea but I don't know if it would work in practice for all projects. I think every library could include such a list as it documents all errors in one place.

sort of best practice.