Skip to content

Commit 767754c

Browse files
committed
change from abstract class to interface
1 parent 9022352 commit 767754c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationError.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* @since 1.1.0
1919
*/
2020
@Beta
21-
public abstract class OrchestrationError implements ClientError {
21+
public interface OrchestrationError extends ClientError {
2222

2323
/**
2424
* Orchestration error response for synchronous requests.
@@ -27,7 +27,7 @@ public abstract class OrchestrationError implements ClientError {
2727
*/
2828
@AllArgsConstructor(onConstructor = @__({@JsonCreator}), access = AccessLevel.PROTECTED)
2929
@Value
30-
public static class Synchronous extends OrchestrationError {
30+
class Synchronous implements OrchestrationError {
3131
ErrorResponse errorResponse;
3232

3333
/**
@@ -50,7 +50,7 @@ public String getMessage() {
5050
*/
5151
@AllArgsConstructor(onConstructor = @__({@JsonCreator}), access = AccessLevel.PROTECTED)
5252
@Value
53-
public static class Streaming extends OrchestrationError {
53+
class Streaming implements OrchestrationError {
5454
ErrorResponseStreaming errorResponse;
5555

5656
/**

0 commit comments

Comments
 (0)