menu
smart_dio package
documentation
http/pipeline/middleware.dart
Middleware
onError method
onError method
dark_mode
light_mode
onError
method
Future
<
void
>
onError
(
RequestContext
ctx
,
SmartError
error
)
错误发生时调用
Implementation
Future<void> onError( RequestContext ctx, SmartError error, ) async {}
smart_dio package
documentation
http/pipeline/middleware
Middleware
onError method
Middleware class