Package com.openai.models
Class Run.LastError.Code
-
- All Implemented Interfaces:
-
com.openai.core.Enum
public final class Run.LastError.Code implements Enum
One of
server_error
,rate_limit_exceeded
, orinvalid_prompt
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
Run.LastError.Code.Known
public enum
Run.LastError.Code.Value
-
Field Summary
Fields Modifier and Type Field Description public final static Run.LastError.Code
SERVER_ERROR
public final static Run.LastError.Code
RATE_LIMIT_EXCEEDED
public final static Run.LastError.Code
INVALID_PROMPT
-
Method Summary
-
-
Method Detail
-
value
final Run.LastError.Code.Value value()
-
known
final Run.LastError.Code.Known known()
-
of
final static Run.LastError.Code of(String value)
-
-
-
-