
26 Jun
2012
26 Jun
'12
10:57 a.m.
A side note, it usually isn't a good idea to store user messages in exception objects. Typically, messages need to be localized, and that is outside of the scope of most of the application code, nevermind library level code. In order to localize them you need to keep track of all possible error messages in a .po file, and since new error codes can appear in new
On Mon, 25 Jun 2012 15:58:14 -0700 Emil Dotchevski <emildotchevski@gmail.com> wrote: library version this can be only dependably handled at library level. Otherwise we'll either have to lose the original message or display it in English. Translating messages from libraries in apps just won't scale.