onError property
The callback for error information.
When an exception occurs in the SDK, the callback will prompt detailed information.
zim
ZIM instance.
errorInfo
Error information, please refer to the error codes document.
Implementation
static void Function(ZIM zim, ZIMError errorInfo)? onError;