OnErrorType typedef

OnErrorType = void Function(ErrorCode code)

code:错误码

Implementation

typedef OnErrorType = void Function(ErrorCode code);