DimensionalityError

exception pylook.units.DimensionalityError(units1, units2, dim1='', dim2='', *, extra_msg='')

Raised when trying to convert between incompatible units.