We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a16bf2 commit 1aa9888Copy full SHA for 1aa9888
databricks-sdk-java/src/main/java/com/databricks/sdk/core/error/ApiErrorBody.java
@@ -97,6 +97,13 @@ public void setApi12Error(String api12Error) {
97
this.api12Error = api12Error;
98
}
99
100
+ /**
101
+ * Converts the error details to a list of ErrorDetail objects. This only supports the ErrorInfo
102
+ * type.
103
+ *
104
+ * @param details The error details to convert.
105
+ * @return A list of ErrorDetail objects.
106
+ */
107
private static List<ErrorDetail> fromDetails(ErrorDetails details) {
108
if (details == null) {
109
return Collections.emptyList();
0 commit comments