Could we perhaps raise a custom error here rather than a ``ValueError``?