changed getErrorResponse to getError and added a possibility to get the
original error response