Interface AiServiceErrorEvent
- All Superinterfaces:
AiServiceEvent
- All Known Implementing Classes:
DefaultAiServiceErrorEvent
Represents an event that occurs when an AI Service invocation fails.
This interface extends
AiServiceEvent to include additional information
about the error that caused the failure.
Implementers of this interface can provide details about the failure, including the
associated Throwable, which can be used for debugging or logging purposes.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBuilder forDefaultAiServiceErrorEventinstances.Nested classes/interfaces inherited from interface AiServiceEvent
AiServiceEvent.Builder<T> -
Method Summary
Modifier and TypeMethodDescriptionbuilder()error()Retrieves theThrowablerepresenting the error associated with the AI Service invocation failure.default Class<AiServiceErrorEvent> Retrieves the class type of the event, representing the specific category of the AI Service invocation event.Creates a new builder instance initialized with the properties of thisAiServiceEvent.Methods inherited from interface AiServiceEvent
invocationContext
-
Method Details
-
error
-
eventClass
Description copied from interface:AiServiceEventRetrieves the class type of the event, representing the specific category of the AI Service invocation event.- Specified by:
eventClassin interfaceAiServiceEvent
-
toBuilder
Description copied from interface:AiServiceEventCreates a new builder instance initialized with the properties of thisAiServiceEvent. This allows modification of the existing properties and reconstruction of the event.- Specified by:
toBuilderin interfaceAiServiceEvent
-
builder
-