import re


def _skopeo_inspect_failure(result):
    """
    Custom processing of skopeo error messages for user friendly description.

    :param result: SkopeoResults object
    :return: Message to display
    """

    lines = result.stderr.split("\n")
    for line in lines:
        if re.match(".*Error reading manifest.*", line):
            return "No matching tags, including 'latest', to inspect for tags list"

    return "See output"