File tree Expand file tree Collapse file tree
gax-java/gax-httpjson/src
main/java/com/google/api/gax/httpjson
test/java/com/google/api/gax/httpjson Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050import com .google .rpc .ResourceInfo ;
5151import com .google .rpc .RetryInfo ;
5252import com .google .rpc .Status ;
53- import java .util .logging .Level ;
5453import java .util .logging .Logger ;
5554
5655/**
5756 * Utility for parsing Google Cloud error responses from JSON.
5857 *
59- * <p>
60- * This parser extracts {@link ErrorDetails} from a standard Google Cloud error
61- * response JSON
62- * payload as defined in
63- * <a href="https://google.aip.dev/193#http11json-representation">AIP-193</a>.
64- * The payload typically contains a top-level "error" object with a "details"
65- * list.
58+ * <p>This parser extracts {@link ErrorDetails} from a standard Google Cloud error response JSON
59+ * payload as defined in <a
60+ * href="https://google.aip.dev/193#http11-json-representation">AIP-193</a>. The payload typically
61+ * contains a top-level "error" object with a "details" list.
6662 */
6763@ InternalApi
6864class HttpJsonErrorParser {
Original file line number Diff line number Diff line change 3333
3434import com .google .api .gax .rpc .ErrorDetails ;
3535import com .google .rpc .ErrorInfo ;
36- import org .junit .jupiter .api .Assertions ;
3736import org .junit .jupiter .api .Test ;
3837
3938/** Tests for {@link HttpJsonErrorParser}. */
You can’t perform that action at this time.
0 commit comments