Interface ImmutableRoot.ReplayFailure<S,E>

Enclosing class:
ImmutableRoot<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ImmutableRoot.ReplayFailure<S,E>
  • Method Summary

    Modifier and Type
    Method
    Description
    map(S state, E event, Throwable error)
    Maps a replay failure to the runtime exception exposed to the caller, with access to the state and failing event.
  • Method Details

    • map

      RuntimeException map(S state, E event, Throwable error)
      Maps a replay failure to the runtime exception exposed to the caller, with access to the state and failing event.