output errors
output error messages