Class ChatModelErrorContext

java.lang.Object
dev.langchain4j.model.chat.listener.ChatModelErrorContext

public class ChatModelErrorContext extends Object
The error context. It contains the error, corresponding ChatModelRequest, partial ChatModelResponse (if available) and attributes. The attributes can be used to pass data between methods of a ChatModelListener or between multiple ChatModelListeners.