Stop and Error
core.stop_and_error · version 1 · Flow
Fail the execution with a custom message or error object.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
errorType | options | "errorMessage" | Error type. One of errorMessage, errorObject. | ||
message | string | errorType = errorMessage | Text of the error raised. | ||
errorObject | json | errorType = errorObject | Error object. JSON object describing the error; ‘message’ and ‘description’ are used when present. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.stopAndError | 1 | unverified |