It would be great to have a way to globalize error codes across different components. This would make it very powerful for developing distributed applications and plugin concept, and could include "exception propagation" for injected components.
The simplest concept would be just to have a line like
which then reads in central error codes.