output error details