feign client 2.x 默认异常
public static FeignException errorStatus(String methodKey, Response response) {
String message = format("status %s reading %s", response.status(), methodKey);
try {
Object body = toString.decode(methodKey, response, String.class);
if (body != null) {
response = Response.create(response.status(), response.reason(), response.headers(), body.toString());
message += "; content:\n" + body;
}
} catch (IOException ignored) {