public static function exceptionApplies(Process $process): bool
    {
        if (Node\FatalException::exceptionApplies($process)) {
            $error = json_decode($process->getErrorOutput(), true);

            return $error['message'] === 'The idle timeout has been reached.';
        }

        return false;
    }
public static function exceptionApplies(Process $process): bool
    {
        if (Node\FatalException::exceptionApplies($process)) {
            $error = json_decode($process->getErrorOutput(), true);

            return $error['message'] === 'The idle timeout has been reached.';
        }

        return false;
    }
public static function exceptionApplies ( Process $ process ) : bool { if ( Node \ FatalException :: exceptionApplies ( $ process ) ) { $ error = json_decode ( $ process -> getErrorOutput ( ) , true ) ; return $ error [ 'message' ] === 'The idle timeout has been reached.' ; } return false ; }
Check if the exception can be applied to the process.
Check if the exception can be applied to the process .