errorCode:错误码
errorCode
<0
>0
errorMessage:错误原因说明
errorMessage
typedef OnErrorMsgType = void Function(int errorCode, String errorMessage);