Class InvalidSelfReducerLifecycleHook
- Namespace
- Cratis.Chronicle.Reducers
- Assembly
- Cratis.Chronicle.dll
The exception that is thrown when a self reducer declares an invalid replay lifecycle hook.
public class InvalidSelfReducerLifecycleHook : Exception, ISerializable
- Inheritance
-
InvalidSelfReducerLifecycleHook
- Implements
- Inherited Members
- Extension Methods
Constructors
InvalidSelfReducerLifecycleHook(Type, MethodInfo, string)
The exception that is thrown when a self reducer declares an invalid replay lifecycle hook.
public InvalidSelfReducerLifecycleHook(Type readModelType, MethodInfo method, string reason)
Parameters
readModelTypeTypeThe self-reducing model.
methodMethodInfoThe invalid hook.
reasonstringThe violated contract.