Enum TemplateErrorPolicy
- Namespace
- PatternKit.Generators.Template
- Assembly
- PatternKit.Generators.Abstractions.dll
Defines how errors are handled during template method execution.
public enum TemplateErrorPolicy
Fields
HandleAndContinue = 1After invoking OnError hook (if present), suppress the exception (do not rethrow) and terminate the workflow. Remaining steps are not executed; use this only when all remaining steps are optional.
Rethrow = 0After invoking OnError hook (if present), rethrow the exception. This is the default behavior.