Class Status.Failure
Indicates the failure of some operation that was requested and includes an Exception describing the underlying cause of the problem.
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public sealed class Status.Failure : Status
Constructors
| Edit this page View SourceFailure(Exception)
Initializes a new instance of the Status.Failure class.
Declaration
public Failure(Exception cause)
Parameters
Type | Name | Description |
---|---|---|
Exception | cause | The cause of the failure |
Failure(Exception, object)
Initializes a new instance of the Status.Failure class.
Declaration
public Failure(Exception cause, object state)
Parameters
Type | Name | Description |
---|---|---|
Exception | cause | The cause of the failure |
object | state | The source state of the failure |
Fields
| Edit this page View SourceCause
The cause of the failure
Declaration
public readonly Exception Cause
Field Value
Type | Description |
---|---|
Exception |
State
The source state of the failure It can be used to send the command message back
Declaration
public readonly object State
Field Value
Type | Description |
---|---|
object |
Methods
| Edit this page View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |