Class CancelInteractionByIdClientError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.genai.errors.ApiException
com.google.genai.errors.ClientException
com.google.genai.gaos.models.errors.GaosClientException
com.google.genai.gaos.models.errors.CancelInteractionByIdClientError
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCancelInteractionByIdClientError(int code, byte[] body, HttpResponse<?> rawResponse, CancelInteractionByIdClientError.Data data, Throwable deserializationException) -
Method Summary
Modifier and TypeMethodDescriptiondata()Returns the exception if an error occurs while deserializing the response body.error()Deprecated.from(HttpResponse<InputStream> response) Parse a response into an instance of CancelInteractionByIdClientError.Methods inherited from class com.google.genai.gaos.models.errors.GaosClientException
body, bodyAsString, headers, rawResponseMethods inherited from class com.google.genai.errors.ApiException
code, message, status, throwFromErrorNode, throwFromResponseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CancelInteractionByIdClientError
public CancelInteractionByIdClientError(int code, byte[] body, HttpResponse<?> rawResponse, @Nullable CancelInteractionByIdClientError.Data data, @Nullable Throwable deserializationException)
-
-
Method Details
-
from
Parse a response into an instance of CancelInteractionByIdClientError. If deserialization of the response body fails, the resulting CancelInteractionByIdClientError instance will have a null data() value and a non-null deserializationException(). -
error
Deprecated.Error message from an interaction. -
data
-
deserializationException
Returns the exception if an error occurs while deserializing the response body.
-