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

readModelType Type

The self-reducing model.

method MethodInfo

The invalid hook.

reason string

The violated contract.