plasmapy.particles.exceptions

Collection of exceptions and warnings for plasmapy.particles.

Exceptions

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.

ParticleError

Base exception for errors in the particles subpackage.

UnexpectedParticleError

An exception for when a particle is not of the expected category.

Inheritance diagram of 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.ParticleError, plasmapy.particles.exceptions.UnexpectedParticleError

Warnings

MissingParticleDataWarning

Warning for use when atomic or particle data is missing.

ParticleWarning

The base warning for the particles subpackage.

Inheritance diagram of plasmapy.particles.exceptions.MissingParticleDataWarning, plasmapy.particles.exceptions.ParticleWarning