Ask a question to get started
Enter to send•Shift+Enter new line
Handle an error for a chain run.
on_chain_error( self, error: BaseException, *, inputs: dict[str, Any] | None = None, run_id: UUID, **kwargs: Any = {} ) -> Run
error
BaseException
The error.
inputs
dict[str, Any] | None
None
The inputs for the chain.
run_id
UUID
The run ID.
**kwargs
Any
{}
Additional arguments.