It would be nice to catch the exception value and append the exact message to ValueError