A general message and error reporting system