onError property

void Function(ZIM zim, ZIMError errorInfo)? onError
getter/setter pair

The callback for error information.

When an exception occurs in the SDK, the callback will prompt detailed information.

  • zim ZIM instance.
  • errorInfo The error information

Implementation

static void Function(ZIM zim, ZIMError errorInfo)? onError;