Click or drag to resize
Akka.NETSupervisorStrategyHandleFailure Method
Overload List
  NameDescription
Public methodHandleFailure(ActorCell, Exception, ChildRestartStats, IReadOnlyCollectionChildRestartStats) Obsolete.
TBD
Public methodHandleFailure(ActorCell, IActorRef, Exception, ChildRestartStats, IReadOnlyCollectionChildRestartStats)
This is the main entry point: in case of a child’s failure, this method must try to handle the failure by resuming, restarting or stopping the child (and returning `true`), or it returns `false` to escalate the failure, which will lead to this actor re-throwing the exception which caused the failure. The exception will not be wrapped. This method calls SupervisorStrategy, which will log the failure unless it is escalated. You can customize the logging by setting SupervisorStrategy to `false` and do the logging inside the `decider` or override the `LogFailure` method.
Top
See Also