Package com.openai.errors
Class UnexpectedStatusCodeException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class UnexpectedStatusCodeException extends OpenAIServiceException
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUnexpectedStatusCodeException.BuilderA builder for UnexpectedStatusCodeException.
-
Method Summary
Modifier and Type Method Description JsonValuebody()Optional<String>code()Optional<String>param()Optional<String>type()IntegerstatusCode()Headersheaders()final UnexpectedStatusCodeException.BuildertoBuilder()final static UnexpectedStatusCodeException.Builderbuilder()Returns a mutable builder for constructing an instance of UnexpectedStatusCodeException. -
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 UnexpectedStatusCodeException.Builder toBuilder()
-
builder
final static UnexpectedStatusCodeException.Builder builder()
Returns a mutable builder for constructing an instance of UnexpectedStatusCodeException.
The following fields are required:
.statusCode() .headers()
-
-
-
-