← Back to team overview

python-quantities-developers team mailing list archive

should we have a UnitsError?

 

Do you think we should have a subclass of ValueError called UnitsError? I
find myself frequently checking to see if the units will work out for
something within a function and then returning a ValueError if they don't,
so it seems like we could standardize with a UnitsError class.

Follow ups