plasmapy.particles.exceptions

Collection of exceptions and warnings for plasmapy.particles.

Classes

ParticleError

Base exception for errors in the particles subpackage.

ParticleWarning

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.

MissingParticleDataError

An exception for missing atomic or particle data in the particles subpackage.

MissingParticleDataWarning

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.ParticleError, plasmapy.particles.exceptions.ParticleWarning, plasmapy.particles.exceptions.ChargeError, plasmapy.particles.exceptions.InvalidElementError, plasmapy.particles.exceptions.InvalidIonError, plasmapy.particles.exceptions.InvalidIsotopeError, plasmapy.particles.exceptions.InvalidParticleError, plasmapy.particles.exceptions.MissingParticleDataError, plasmapy.particles.exceptions.MissingParticleDataWarning, plasmapy.particles.exceptions.UnexpectedParticleError