Skip to content

Error Handler

Defines the step error handler that keeps typed gllm-rag errors intact.

PassThroughBaseErrorHandler()

Bases: RaiseStepErrorHandler

Re-raises BaseError subclasses unchanged and defers to RaiseStepErrorHandler for everything else.

Without this, the default handler wraps typed errors in a PipelineRuntimeError, so callers of Pipeline.invoke() cannot catch the typed error or read its stable code.