Package com.openai.models
Class Run.LastError
-
- All Implemented Interfaces:
public final class Run.LastError
The last error associated with this run. Will be
null
if there are no errors.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
Run.LastError.Builder
A builder for LastError.
public final class
Run.LastError.Code
One of
server_error
,rate_limit_exceeded
, orinvalid_prompt
.
-
Method Summary
Modifier and Type Method Description final Run.LastError.Code
code()
One of server_error
,rate_limit_exceeded
, orinvalid_prompt
.final String
message()
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.LastError
validate()
final Run.LastError.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static Run.LastError.Builder
builder()
-
-
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()
-
-
-
-