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