docs: public HTTPResponse handleError(HTTPResponse response) throws HTTPException {
          if (response.statusCode < 200 || response.statusCode >= 300) {
              throw new HTTPException(response.statusCode, response.reason);
          }
          return response;
      }