Class FailProcessorDescriptor
Raises an exception. This is useful for when you expect a pipeline to fail and want to relay a specific message to the requester.
Inheritance
FailProcessorDescriptor
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class FailProcessorDescriptor : ProcessorDescriptorBase<FailProcessorDescriptor, IFailProcessor>, IDescriptor, IFailProcessor, IProcessor
Properties
| Edit this page View SourceName
Declaration
protected override string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
| Edit this page View SourceMessage(string)
The error message thrown by the processor. Supports template snippets.
Declaration
public FailProcessorDescriptor Message(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message |
Returns
| Type | Description |
|---|---|
| FailProcessorDescriptor |