Error Message
From MoonDragon Wiki
Right now, when a database error is triggered within the system nothing happens. The developers needs a faster way to check the errors and also we need an standard error message when the system goes offline to avoid showing any sensitive information to the users.
The database class allows for an easy error check based on the string of the error message. When no error has happened the error function of the database class returns an empty string. If the string isn't empty an error has ocurred and the system can show an error message.
Another feature needed is to give the developer the ability to show a customized error message with a standard api.
The system errors with sensitive information could be showed on a separate information screen only available to developers. We need further investigation to this.
Progress
On API branch revision 37, a default error message has been added when the conection fails.
An automatic error report has been added on API branch revision 39. If the debug option is turned off, no sensitive information will be showed to the user.

