[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] Add code in exceptions and warnings
From: |
Luis Falcon |
Subject: |
[Health-dev] Add code in exceptions and warnings |
Date: |
Tue, 10 Aug 2021 15:36:06 +0100 |
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, causes and their solutions
* Remove ambiguity in translations.
For example, the message
"No health professional associated to this user"
Could become
"No health professional associated to this user (E: health-055)"
The prefix would be the name of the package (health, health_imaging,
..) and the first letter will indicate the type of message (E:error,
W:warning...)
Let me know your thoughts.
Bests
Luis
--
Dr. Luis Falcon, MD, MSc
President, GNU Solidario
Advancing Social Medicine
www.gnuhealth.org
- [Health-dev] Add code in exceptions and warnings,
Luis Falcon <=
Re: [Health-dev] Add code in exceptions and warnings, Armand MPASSY-NZOUMBA, 2021/08/11