def unrecognized_message(actual_value, unexpected_kind, name):
    """Return message for unrecognized actual_value of unexpected_kind described by name"""
    return "Value '{0}' is an unrecognized {1} of '{2}'".format(actual_value, name, unexpected_kind)