节点与集成
Stop And Error
Use the Stop And Error node to display custom error messages, cause executions to fail under certain conditions, and send custom error information to error workflows.
Operations
- Error Message
- Error Object
Node parameters
Both operations include one node parameter, the Error Type. Use this parameter to select the type of error to throw. Choose between the two operations: Error Message and Error Object.
The other parameters depend on which operation you select.
Error Message parameters
The Error Message Error Type adds one parameter, the Error Message field. Enter the message you'd like to throw.
Error Object parameters
The Error Object Error Type adds one parameter, the Error Object. Enter a JSON object that contains the error properties you'd like to throw.
Templates and examples
Browse Stop And Error integration templates or search all templates
Related resources
You can use the Stop And Error node with the Error trigger node.
Read more about Error workflows in n8n workflows.
官方原文和授权
本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。