类 InternalServerException

所有已实现的接口:
Serializable

public class InternalServerException extends OpenAIException
Exception thrown when the server encounters an internal error (HTTP 5xx).

This indicates a problem on OpenAI's side. Consider retrying the request after a brief wait.

Common status codes:

  • 500 - Internal Server Error
  • 502 - Bad Gateway
  • 503 - Service Unavailable
  • 504 - Gateway Timeout
另请参阅:
  • 构造器详细资料

    • InternalServerException

      public InternalServerException(String message, int statusCode, String errorCode, String responseBody)