Enum RunningModuleExceptionPolicy
- Namespace
- Prefrontal
- Assembly
- Prefrontal.Core.dll
Defines what happens when an exception occurs in a module's RunAsync() method.
public enum RunningModuleExceptionPolicy
- Extension Methods
Fields
LogAndRemoveModule = 1Logs the exception and removes the module that threw the exception.
All other modules will continue running.LogAndRerunAll = 3Logs the exception, stops all modules and reruns them all.
LogAndRerunModule = 2Logs the exception and reruns the module that threw the exception.
All other modules will continue running.LogAndStopAll = 4Logs the exception and stops running the other modules.
This means the agent will stop running after the first exception.LogAndStopModule = 0Default behavior.
Logs the exception and stops running the module that threw the exception.
All other modules will continue running.RethrowAndStopAll = 5Rethrows the exception and stops running the other modules.
This means the agent will stop running after the first exception.