onDispatchingFailed

public final void onDispatchingFailed(SignalEnvelope<? extends Object, ? extends Object, ? extends Object> signal, Error error)

Posts a diagnostic event on a dispatching error.

Depending on the error type and code, may emit HandlerFailedUnexpectedly, CannotDispatchDuplicateEvent, or CannotDispatchDuplicateCommand.

Parameters

signal

the dispatched signal

error

the dispatching error