planetmapper.exceptions

Module containing any exceptions and warnings used by PlanetMapper.

exception planetmapper.exceptions.PlanetmapperWarning[source]

Bases: Warning

Base class for all warnings raised by PlanetMapper.

planetmapper.exceptions.warn(message: str, *, category: type[Warning] = <class 'planetmapper.exceptions.PlanetmapperWarning'>) None[source]

Emit a warning with the given message.