Add report-an-error facility