Whenever you raise `ValueError` please include the actual value in the error message and make the assumption for valid values explicit. Here the value should be positive.