process error response