java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.model.OpenAiError
All Implemented Interfaces:
ClientError

@Deprecated public class OpenAiError extends Object implements ClientError
Deprecated.
OpenAI error.
  • Constructor Details

    • OpenAiError

      public OpenAiError()
      Deprecated.
  • Method Details

    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • getError

      @Nullable public OpenAiErrorBase getError()
      Deprecated.
      The error object.
    • getMessage

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