[Health-dev] Add code in exceptions and warnings

2021-08-10 Thread Luis Falcon
Dear community We're working on the upcoming GNU Health HMIS 4.0 component, and I thought of introducing a code associated to each warning and error message. I think that, although most messages are self-explanatory, a unique identifier would help for: * Having a glossary of error messages, caus

Re: [Health-dev] Add code in exceptions and warnings

2021-08-10 Thread Axel Braun
Hi Luis, Am Dienstag, 10. August 2021, 16:36:06 CEST schrieb Luis Falcon: > We're working on the upcoming GNU Health HMIS 4.0 component, and I > thought of introducing a code associated to each warning and error > message. [...] > The prefix would be the name of the package (health, health_imag

Re: [Health-dev] Add code in exceptions and warnings

2021-08-10 Thread Edgar_H
Dear Luis, excellent! And and it would be great if the error text could be extended to something like: "if you want to associate a health professional to this user, do this and that ..." All the best Edgar Am 10.08.2021 um 16:36 schrieb Luis Falcon: Dear community We're working on the up

Re: [Health-dev] Add code in exceptions and warnings

2021-08-10 Thread Luis Falcon
Hi, Axel! On Tue, 10 Aug 2021 16:57:05 +0200 Axel Braun wrote: > Hi Luis, > > Am Dienstag, 10. August 2021, 16:36:06 CEST schrieb Luis Falcon: > > > We're working on the upcoming GNU Health HMIS 4.0 component, and I > > thought of introducing a code associated to each warning and error > > mes

Re: [Health-dev] Add code in exceptions and warnings

2021-08-10 Thread Luis Falcon
Dear Edgar On Tue, 10 Aug 2021 20:46:21 +0200 Edgar_H wrote: > Dear Luis, > > excellent! > > And and it would be great if the error text could be extended to > something like: "if you want to associate a health professional to > this user, do this and that ..." Yes. The idea is to have docum