menu
dio_http_util package
documentation
simple_error_response.dart
SimpleErrorResponse<T>
handleError method
handleError method
dark_mode
light_mode
handleError
method
@
override
void
handleError
(
)
override
处理错误(可选实现,工具类会调用此方法) 默认实现为空,用户可以在自己的响应类中重写
Implementation
@override void handleError() { // 简单错误响应不需要额外处理 }
dio_http_util package
documentation
simple_error_response
SimpleErrorResponse<T>
handleError method
SimpleErrorResponse class