code: protected void onError(String title, String msg) {
          // override this to override default error handling behavior
          AlertDialog.Builder builder = new AlertDialog.Builder(mActivity);
          builder.setMessage(msg).setTitle(title);
          builder.setPositiveButton("OK", new DialogInterface.OnClickListener() {
              public void onClick(DialogInterface dialog, int id) {
                  dialog.dismiss();
              }
          });
          AlertDialog dialog = builder.create();
          dialog.show();
      }
docs: Override this to hook into error display
  Default behavior is to display the error as a dialog in your application
  @param title title of error
  @param msg detail of error