类 InternalServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.agentscope.core.model.exception.OpenAIException
io.agentscope.core.model.exception.InternalServerException
- 所有已实现的接口:
Serializable
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(String message, int statusCode, String errorCode, String responseBody) -
方法概要
从类继承的方法 io.agentscope.core.model.exception.OpenAIException
create, getErrorCode, getResponseBody, getStatusCode
-
构造器详细资料
-
InternalServerException
-