# NetErrorHandler

interface NetErrorHandler
Content copied to clipboard

## Types

DEFAULT
Link copied to clipboard
object DEFAULT : NetErrorHandler
Content copied to clipboard

## Functions

onError
Link copied to clipboard
open fun onError(e: Throwable)
Content copied to clipboard
全局的网络错误处理
onStateError
Link copied to clipboard
open fun onStateError(e: Throwable, view: View)
Content copied to clipboard
当你使用包含缺省页功能的作用域中发生错误将回调本函数处理错误

## Inheritors

NetErrorHandler
Link copied to clipboard