setOnErrorHandler method

void setOnErrorHandler(
  1. OnErrorHandler? handler
)

设置错误拦截器

Implementation

void setOnErrorHandler(OnErrorHandler? handler) {
  _onErrorHandler = handler;
}