Skip to content

Commit 42e5533

Browse files
authored
docs: fix error response format url (#2514)
1 parent dd33337 commit 42e5533

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

google-api-client/src/main/java/com/google/api/client/googleapis/json/GoogleJsonError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
/**
3030
* Data class representing the Google JSON error response content, as documented for example in <a
31-
* href="https://developers.google.com/url-shortener/v1/getting_started#errors">Error responses</a>.
31+
* href="https://cloud.google.com/apis/design/errors">Error responses</a>.
3232
*
3333
* @since 1.4
3434
* @author Yaniv Inbar

google-api-client/src/main/java/com/google/api/client/googleapis/json/GoogleJsonResponseException.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
/**
3030
* Exception thrown when an error status code is detected in an HTTP response to a Google API that
3131
* uses the JSON format, using the format specified in <a href=
32-
* "https://developers.google.com/url-shortener/v1/getting_started?csw=1#errors">Error
33-
* Responses</a>.
32+
* "https://cloud.google.com/apis/design/errors">Error Responses</a>.
3433
*
3534
* <p>To execute a request, call {@link #execute(JsonFactory, HttpRequest)}. This will throw a
3635
* {@link GoogleJsonResponseException} on an error response. To get the structured details, use

0 commit comments

Comments
 (0)