Package com.openai.models.responses
Class ResponseErrorEvent
-
- All Implemented Interfaces:
public final class ResponseErrorEvent
Emitted when an error occurs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseErrorEvent.Builder
A builder for ResponseErrorEvent.
-
Method Summary
Modifier and Type Method Description final Optional<String>
code()
The error code. final String
message()
The error message. final Optional<String>
param()
The error parameter. final JsonValue
_type()
The type of the event. final JsonField<String>
_code()
The error code. final JsonField<String>
_message()
The error message. final JsonField<String>
_param()
The error parameter. final Map<String, JsonValue>
_additionalProperties()
final ResponseErrorEvent
validate()
final ResponseErrorEvent.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseErrorEvent.Builder
builder()
Returns a mutable builder for constructing an instance of ResponseErrorEvent. -
-
Method Detail
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseErrorEvent validate()
-
toBuilder
final ResponseErrorEvent.Builder toBuilder()
-
builder
final static ResponseErrorEvent.Builder builder()
Returns a mutable builder for constructing an instance of ResponseErrorEvent.
The following fields are required:
.code() .message() .param()
-
-
-
-