UnitsError

exception astropy.units.UnitsError[source] [edit on github]

The base class for unit-specific exceptions.