UnitTypeError#

exception astropy.units.UnitTypeError[源代码]#

专门用于设置类不允许的单位时出现的错误。

E、 如果一个单位 Angle 实例被设置为非角度单位。