afDefaultQueryErrorHandler function

void afDefaultQueryErrorHandler(
  1. AFFinishQueryErrorContext context
)

Implementation

void afDefaultQueryErrorHandler(AFFinishQueryErrorContext context) {
  var msg = context.error.message;
  context.showDialogErrorText(
    themeOrId: AFUIThemeID.defaultTheme,
    buttonTitles: ["OK"],
    title: "Unexpected Internal Error",
    body: msg,
  );

}