vellum.workflows.nodes.ErrorNode
Used to raise an error to reject the surrounding Workflow and return custom error messages.
The error to raise. Can be either:
message and error codeThis node doesn’t produce outputs. However, Workflows that invoke this node will error and the error message will appear in the Vellum UI.