public interface OnError
Modifier and Type | Method and Description |
---|---|
void |
onError(ForestRuntimeException ex,
ForestRequest request,
ForestResponse response)
请求失败后调用该方法
|
void onError(ForestRuntimeException ex, ForestRequest request, ForestResponse response)
ex
- 请求失败的异常对象request
- Forest请求对象response
- Forest响应对象Copyright © 2020. All rights reserved.