* * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/fail-processor.html */ class FailProcessor extends AbstractProcessor { use Traits\IgnoreFailureTrait; public function __construct(string $message) { $this->setMessage($message); } /** * Set Fail message. * * @return $this */ public function setMessage(string $message): self { return $this->setParam('message', $message); } }