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<FSMBase.StopEvent<TState, TData>>) block.
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public sealed class Failure : FSMBase.Reason
Constructors
| Improve this Doc View SourceFailure(Object)
Initializes a new instance of the Failure
Declaration
public Failure(object cause)
Parameters
Type | Name | Description |
---|---|---|
Object | cause | TBD |
Properties
| Improve this Doc View SourceCause
TBD
Declaration
public object Cause { get; }
Property Value
Type | Description |
---|---|
Object |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |