added ValidationException, set .error class from response data