plasmapy.particles.exceptions

Collection of Exceptions and Warnings for PlasmaPy particles.

Classes

AtomicError An exception for errors in the particles subpackage.
AtomicWarning The base warning for the particles subpackage.
ChargeError An exception for incorrect or missing charge information.
InvalidElementError An exception for when an argument is a valid particle is not a valid element.
InvalidIonError An exception for when an argument is a valid particle but not a valid ion.
InvalidIsotopeError An exception for when an argument is a valid particle but not a valid isotope.
InvalidParticleError An exception for when a particle is invalid.
MissingAtomicDataError An exception for missing atomic or particle data.
MissingAtomicDataWarning Warning for use when atomic or particle data is missing.
UnexpectedParticleError An exception for when a particle is not of the expected category.

Class Inheritance Diagram

Inheritance diagram of plasmapy.particles.exceptions.AtomicError, plasmapy.particles.exceptions.AtomicWarning, plasmapy.particles.exceptions.ChargeError, plasmapy.particles.exceptions.InvalidElementError, plasmapy.particles.exceptions.InvalidIonError, plasmapy.particles.exceptions.InvalidIsotopeError, plasmapy.particles.exceptions.InvalidParticleError, plasmapy.particles.exceptions.MissingAtomicDataError, plasmapy.particles.exceptions.MissingAtomicDataWarning, plasmapy.particles.exceptions.UnexpectedParticleError