SunpyWarning#

exception sunpy.util.SunpyWarning[source]#

The base warning class from which all Sunpy warnings should inherit.

Any warning inheriting from this class is handled by the Sunpy logger. This warning should not be issued in normal code. Use “SunpyUserWarning” instead or a specific sub-class.