WARNING: Version 5.0 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Fail Processoredit
Raises an exception. This is useful for when you expect a pipeline to fail and want to relay a specific message to the requester.
Table 18. Fail Options
Name | Required | Default | Description |
---|---|---|---|
|
yes |
- |
The error message of the |
{ "fail": { "message": "an error message" } }