code: protected void handleError(Error error) throws Exception {
      String errMsg="error: "+error.getCode()+" info: "+error.getInfo();
      handleError(errMsg);
    }
docs: handle the given api error
  @param error
  @throws Exception