Package com.openai.errors
Class InternalServerException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class InternalServerException extends OpenAIServiceException
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
InternalServerException.Builder
A builder for InternalServerException.
-
Method Summary
Modifier and Type Method Description JsonValue
body()
Optional<String>
code()
Optional<String>
param()
Optional<String>
type()
Integer
statusCode()
Headers
headers()
final InternalServerException.Builder
toBuilder()
final static InternalServerException.Builder
builder()
Returns a mutable builder for constructing an instance of InternalServerException. -
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
statusCode
Integer statusCode()
-
toBuilder
final InternalServerException.Builder toBuilder()
-
builder
final static InternalServerException.Builder builder()
Returns a mutable builder for constructing an instance of InternalServerException.
The following fields are required:
.statusCode() .headers()
-
-
-
-