output the error response