Class ChatModelErrorContext

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

public class ChatModelErrorContext extends Object
The chat model error context. It contains the error, corresponding ChatRequest, ModelProvider and attributes. The attributes can be used to pass data between methods of a ChatModelListener or between multiple ChatModelListeners.