Error Node
vellum.workflows.nodes.ErrorNode
Used to raise an error to reject the surrounding Workflow and return custom error messages.
Attributes
error
The error to raise. Can be either:
- A string message
- A VellumError object with a
message
and errorcode
Outputs
This node doesn’t produce outputs. However, Workflows that invoke this node will error and the error message will appear in the Vellum UI.