NetErrorHandler

interface NetErrorHandler

Types

DEFAULT
Link copied to clipboard
object DEFAULT : NetErrorHandler

Functions

onError
Link copied to clipboard
open fun onError(e: Throwable)
全局错误
onStateError
Link copied to clipboard
open fun onStateError(e: Throwable, view: View)
自动缺省页错误

Inheritors

NetErrorHandler
Link copied to clipboard