Skip to content

Commit 16a8b1d

Browse files
Add comments
1 parent 1aa9888 commit 16a8b1d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

databricks-sdk-java/src/main/java/com/databricks/sdk/core/error/ApiErrorBody.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ public class ApiErrorBody {
2424

2525
public ApiErrorBody() {}
2626

27+
/**
28+
* Constructs an ApiErrorBody from the given parameters.
29+
*
30+
* <p>The error details are converted to a list of ErrorDetail objects. This only supports the
31+
* ErrorInfo type.
32+
*
33+
* @param errorCode The error code.
34+
* @param message The error message.
35+
* @param scimDetail The SCIM detail.
36+
*/
2737
public ApiErrorBody(
2838
@JsonProperty("error_code") String errorCode,
2939
@JsonProperty("message") String message,

0 commit comments

Comments
 (0)