onError property

dynamic Function(int code, String? errMsg)? onError
getter/setter pair

ZH

引擎内部错误回调 @param code 0: 调用成功, 非0: 失败 @param errMsg 失败原因

EN

Engine internal error callback @param code 0: success, non-zero: failure @param errMsg failure reason

Implementation

Function(int code, String? errMsg)? onError;