onError property

void Function(int errorCode)? onError
getter/setter pair

Callback notification generated when a Super Board internal error occurs. You can identify the error type based on the error code. For more information about the error codes, see ZegoSuperBoardError.

Supported version: 2.0.0

Notification time: Receive an error callback when the ZegoSuperBoard SDK is used.

Implementation

static void Function(int errorCode)? onError;