コード例 #1
0
        private void Behavior()
        {
            var on_fault = Handle <Fault>();

            on_fault += fault =>
            {
                ActorLog.Fatal(
                    fault.Exception,
                    $"System supervisor encountered an unhandled exception. " +
                    $"Actor system will now be shut down."
                    );

                fault.Destroy();

                System.Shutdown();
            };
        }