Reworked error responses.