JobError
JobContext) is cancelled due to a worker error or timeout.
JobGroupError
JobGroupContext) is cancelled due to a worker error or timeout. Also raised if agents are not ready within the specified timeout.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Error types for Pipecat job coordination: JobError and the exceptions raised by JobContext-based single-agent jobs.
from pipecat.pipeline.job_context import JobError
JobContext) is cancelled due to a worker error or timeout.
try:
async with self.job("worker", params=JobParams(payload=data, timeout=30)) as j:
async for event in j:
...
print(j.response)
except JobError as e:
print(f"Job failed: {e}")
from pipecat.pipeline.job_context import JobGroupError
JobGroupContext) is cancelled due to a worker error or timeout. Also raised if agents are not ready within the specified timeout.
try:
async with self.job_group("w1", "w2", params=JobGroupParams(payload=data, timeout=30)) as jg:
async for event in jg:
...
print(jg.responses)
except JobGroupError as e:
print(f"Job group failed: {e}")