public function handleValidationException($endpoint, $response, $method, $path, $options)
    {
        $errors = $response['error']['fields'];
        throw new ValidationException($errors, $endpoint);
    }