Interface ClientError

All Known Subinterfaces:
OrchestrationError
All Known Implementing Classes:
OpenAiError, OpenAiError, OrchestrationError.Streaming, OrchestrationError.Synchronous
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ClientError
Generic class that contains a JSON error response.
Since:
1.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the error message.
  • Method Details

    • getMessage

      @Nullable String getMessage()
      Get the error message.
      Returns:
      The error message