handleError abstract method

void handleError(
  1. Exception ex, {
  2. dynamic onFail(
    1. String?,
    2. String?,
    3. Exception
    )?,
})

统一异常处理

Implementation

void handleError(Exception ex,
    {Function(String?, String?, Exception)? onFail});