Package com.sap.ai.sdk.orchestration

# Class OrchestrationError.Synchronous

java.lang.Object
com.sap.ai.sdk.orchestration.OrchestrationError.Synchronous

All Implemented Interfaces:
  `ClientError`, `OrchestrationError`

Enclosing interface:
  `OrchestrationError`

public static final class OrchestrationError.Synchronous extends Object implements OrchestrationError
Orchestration error response for synchronous requests.

Since:
  1.10.0

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface com.sap.ai.sdk.orchestration.OrchestrationError

  `OrchestrationError.Streaming, OrchestrationError.Synchronous`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `Synchronous(ErrorResponse errorResponse)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `ErrorResponse`
  `getErrorResponse()`
  `String`
  `getMessage()`
  Get the error message.
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Synchronous

    protected Synchronous(ErrorResponse errorResponse)

- ## Method Details

  - ### getMessage

    @Nonnull public String getMessage()
    Description copied from interface: `ClientError`
    Get the error message.
    Specified by:
      `getMessage` in interface `ClientError`
    Returns:
      The error message

  - ### getErrorResponse

    public ErrorResponse getErrorResponse()

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`