display error messages with least dependencies