
    Ji                          G d  de       Z G d de       Z G d de       Z G d de       Z G d d	e       Z G d
 de       Z G d de       Z G d de       Zy)c                       e Zd ZdZy)WorkflowValidationErrorzFRaised when the workflow configuration or step signatures are invalid.N__name__
__module____qualname____doc__     b/var/www/html/BankruptcyAI-uat/bankruptcy-ai/venv/lib/python3.12/site-packages/workflows/errors.pyr   r      s    Pr
   r   c                       e Zd ZdZy)WorkflowTimeoutErrorz:Raised when a workflow run exceeds the configured timeout.Nr   r	   r
   r   r   r   	   s    Dr
   r   c                       e Zd ZdZy)WorkflowRuntimeErrorzARaised for runtime errors during step execution or event routing.Nr   r	   r
   r   r   r      s    Kr
   r   c                       e Zd ZdZy)WorkflowDonezEInternal control-flow exception used to terminate workers at run end.Nr   r	   r
   r   r   r      s    Or
   r   c                       e Zd ZdZy)WorkflowCancelledByUserzCRaised when a run is cancelled via the handler or programmatically.Nr   r	   r
   r   r   r      s    Mr
   r   c                       e Zd ZdZy)WorkflowStepDoesNotExistErrorzBRaised when addressing a step that does not exist in the workflow.Nr   r	   r
   r   r   r      s    Lr
   r   c                       e Zd ZdZy)WorkflowConfigurationErrorz>Raised when a logical configuration error is detected pre-run.Nr   r	   r
   r   r   r      s    Hr
   r   c                       e Zd ZdZy)ContextSerdeErrorz8Raised when serializing/deserializing a `Context` fails.Nr   r	   r
   r   r   r   !   s    Br
   r   N)		Exceptionr   r   r   r   r   r   r   r   r	   r
   r   <module>r      su   
Qi QE9 EL9 LP9 PNi NMI MI IC	 Cr
   