def try_import_or_runtime_error(module, message):
    """

    Trying to import module. No-op if imported. Raises :class:`RuntimeError`
    with given message otherwise.

    :param module: Module name.
    :type module: :class:`str`
    :param message: Error message.
    :type message: :class:`str`

    :raise: :class:`RuntimeError` if module doesn't exist.
    """
    try:
        __import__(module)
    except ImportError:
        raise RuntimeError(message)
