OnError typedef

OnError = void Function(String message)

错误回调

Implementation

typedef void OnError(String message);