exceptions
Custom exceptions for the conversation flow system.
This module defines the exception hierarchy used throughout the flow system for better error handling and debugging. All exceptions inherit from FlowError to provide a common base for flow-related errors.
- exception pipecat.flows.exceptions.FlowError[source]
Bases:
ExceptionBase exception for all flow-related errors.
This is the parent class for all flow system exceptions. Use this for generic flow errors or when a more specific exception doesn’t apply.
- exception pipecat.flows.exceptions.FlowInitializationError[source]
Bases:
FlowErrorRaised when flow initialization fails.
This exception occurs during flow manager setup, typically due to invalid configuration, missing dependencies, or initialization errors.
- exception pipecat.flows.exceptions.FlowTransitionError[source]
Bases:
FlowErrorRaised when a state transition fails.
This exception occurs when transitioning between nodes fails due to invalid node configurations, missing target nodes, or transition errors.