UnitsError

exception astropy.units.UnitsError[source]

The base class for unit-specific exceptions.