WordPress at a glance
function is not described

ActionScheduler_FatalErrorMonitor::handle_unexpected_shutdown() public WC 1.0

{} It's a method of the class: ActionScheduler_FatalErrorMonitor{}

Hooks from the method
Return

Null. Nothing.

Usage

$ActionScheduler_FatalErrorMonitor = new ActionScheduler_FatalErrorMonitor();
$ActionScheduler_FatalErrorMonitor->handle_unexpected_shutdown();

Code of ActionScheduler_FatalErrorMonitor::handle_unexpected_shutdown() WC 5.0.0

<?php
public function handle_unexpected_shutdown() {
	if ( $error = error_get_last() ) {
		if ( in_array( $error['type'], array( E_ERROR, E_PARSE, E_COMPILE_ERROR, E_USER_ERROR, E_RECOVERABLE_ERROR ) ) ) {
			if ( !empty($this->action_id) ) {
				$this->store->mark_failure( $this->action_id );
				do_action( 'action_scheduler_unexpected_shutdown', $this->action_id, $error );
			}
		}
		$this->store->release_claim( $this->claim );
	}
}