Package com.sap.ai.sdk.foundationmodels.openai.model

# Class OpenAiError

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 Summary

  Constructors
  Constructor
  Description
  `OpenAiError()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canEqual(Object other)`
  Deprecated.
  `boolean`
  `equals(Object o)`
  Deprecated.
  `OpenAiErrorBase`
  `getError()`
  Deprecated.
  The error object.
  `String`
  `getMessage()`
  Deprecated.
  Get the error message.
  `int`
  `hashCode()`
  Deprecated.
  `String`
  `toString()`
  Deprecated.

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

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

- ## 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