Docstrings for exceptions
Annotations
Annotations for determine_location
Bypass parsing and pass directly in

This is the cleanest solution I could come up with.
Regex is not ideal, but does the job better than anything else.