Enum RequestExceptionActionProcessorStrategy
- Namespace
- Caesar.DependencyInjection
- Assembly
- Caesar.dll
Controls where RequestExceptionActionProcessorBehavior<TRequest, TResponse> sits relative to RequestExceptionProcessorBehavior<TRequest, TResponse> in the pipeline.
public enum RequestExceptionActionProcessorStrategy
Fields
ApplyForAllExceptions = 1Actions run for every exception, even ones that an exception handler subsequently handles. The action behavior sits directly inside the handler behavior.
ApplyForUnhandledExceptions = 0Actions run only for exceptions that no IRequestExceptionHandler<TRequest, TResponse, TException> handled. The action behavior is the outermost.