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