Class FSMBase.Failure
Signifies that the FSM<TState, TData> is shutting itself down because of an error, e.g. if the state to transition into does not exist. You can use this to communicate a more precise cause to the OnTermination(Action<StopEvent<TState, TData>>) block.
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public sealed class FSMBase.Failure : FSMBase.Reason
Constructors
| Edit this page View SourceFailure(object)
Initializes a new instance of the Failure
Declaration
public Failure(object cause)
Parameters
Type | Name | Description |
---|---|---|
object | cause | TBD |
Properties
| Edit this page View SourceCause
TBD
Declaration
public object Cause { get; }
Property Value
Type | Description |
---|---|
object |
Methods
| Edit this page View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |