c

akka.persistence.typed

PersistFailed

final case class PersistFailed[Command, Event](failure: Throwable, command: Option[Command]) extends EventSourcedSignal with Product with Serializable

failure

the original cause

command

the command that persisted the event, may be undefined if it is a replicated event

Source
EventSourcedSignal.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistFailed
  2. Serializable
  3. Product
  4. Equals
  5. EventSourcedSignal
  6. Signal
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PersistFailed(failure: Throwable, command: Option[Command])

    failure

    the original cause

    command

    the command that persisted the event, may be undefined if it is a replicated event

Value Members

  1. val command: Option[Command]
  2. val failure: Throwable
  3. def getCommand(): Optional[Command]

    Java API: the command that persisted the event, may be undefined if it is a replicated event

  4. def getFailure(): Throwable

    Java API: the original cause

  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. def toString(): String
    Definition Classes
    PersistFailed → AnyRef → Any