Table of Contents

Class ReducerDoesNotExist

Namespace
Cratis.Chronicle.Reducers
Assembly
Cratis.Chronicle.dll

Exception that gets thrown when an reducer does not exist.

public class ReducerDoesNotExist : Exception, ISerializable
Inheritance
ReducerDoesNotExist
Implements
Inherited Members

Remarks

Initializes a new instance of ReducerDoesNotExist.

Constructors

ReducerDoesNotExist(ReducerId)

Exception that gets thrown when an reducer does not exist.

public ReducerDoesNotExist(ReducerId reducer)

Parameters

reducer ReducerId

The invalid ReducerId.

Remarks

Initializes a new instance of ReducerDoesNotExist.

Methods

ThrowIfDoesNotExist(ReducerId, IReducerHandler?)

Throw if the reducer does not exist.

public static void ThrowIfDoesNotExist(ReducerId reducerId, IReducerHandler? reducer)

Parameters

reducerId ReducerId

The ReducerId of the reducer.

reducer IReducerHandler

The possible null IReducerHandler >value to check.

Exceptions

ReducerDoesNotExist

Thrown if the reducer handler value is null.