Change createException to createError

See gh-27645
This commit is contained in:
Arjen Poutsma
2021-12-02 15:11:15 +01:00
parent 6582787678
commit b77b45434f
2 changed files with 2 additions and 2 deletions

View File

@@ -530,7 +530,7 @@ public interface WebClient {
* return response.bodyToMono(ErrorContainer.class);
* }
* else {
* return response.createException();
* return response.createError();
* }
* });
* </pre>

View File

@@ -559,7 +559,7 @@ depending on the response status:
}
else {
// Turn to error
return response.createException();
return response.createError();
}
});
----