Package com.openai.models
Class Run.LastError
-
- All Implemented Interfaces:
public final class Run.LastErrorThe last error associated with this run. Will be
nullif there are no errors.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRun.LastError.Builderpublic final classRun.LastError.CodeOne of
server_error,rate_limit_exceeded, orinvalid_prompt.
-
Method Summary
Modifier and Type Method Description final Run.LastError.Codecode()One of server_error,rate_limit_exceeded, orinvalid_prompt.final Stringmessage()A human-readable description of the error. final JsonField<Run.LastError.Code>_code()One of server_error,rate_limit_exceeded, orinvalid_prompt.final JsonField<String>_message()A human-readable description of the error. final Map<String, JsonValue>_additionalProperties()final Run.LastErrorvalidate()final Run.LastError.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Run.LastError.Builderbuilder()-
-
Method Detail
-
code
final Run.LastError.Code code()
One of
server_error,rate_limit_exceeded, orinvalid_prompt.
-
_code
final JsonField<Run.LastError.Code> _code()
One of
server_error,rate_limit_exceeded, orinvalid_prompt.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final Run.LastError validate()
-
toBuilder
final Run.LastError.Builder toBuilder()
-
builder
final static Run.LastError.Builder builder()
-
-
-
-