public static function heartbeatTimedOut(
        ConnectionOptions $options,
        $heartbeatInterval,
        \Exception $previous = null
    )
    {
        return new self(
            sprintf(
                'The AMQP connection with broker [%s:%d] has timed out, '
                . 'the last heartbeat was received over %d seconds ago.',
                $options->getHost(),
                $options->getPort(),
                $heartbeatInterval
            ),
            0,
            $previous
        );
    }