The from_raw_values function is a class method for creating an instance of a Bookmarks object from a collection of raw bookmark string values. The function must take an iterable of ASCII string values as input and return a Bookmarks object containing those values stored as a frozenset.
Expected Behavior:
Input: An iterable (like a list or a set) of ASCII strings representing raw bookmark values.
Output: A Bookmarks object with a frozenset of the provided string values.
Edge Cases to Handle:
If any element in the input iterable is not a string, a TypeError should be raised indicating the type found.
If any string in the input cannot be encoded in ASCII, a ValueError should be raised, specifying the non-ASCII value.
Note:
The solution should be placed in /app/solution.py. The function must be importable as: from solution import from_raw_values.