CoolDwarf.err package

Submodules

CoolDwarf.err.energy module

exception CoolDwarf.err.energy.EnergyConservationError(msg)

Bases: Exception

An exception class for energy conservation error. This exception is raised when the energy conservation is not satisfied during integration of the model.

exception CoolDwarf.err.energy.NonConvergenceError(msg)

Bases: Exception

An exception class for non-convergence error. This exception is raised when the solver does not converge.

CoolDwarf.err.eos module

exception CoolDwarf.err.eos.EOSBoundsError(msg)

Bases: Exception

An exception class for EOS bounds error. This exception is raised when the bounds for the inversion are not valid.

exception CoolDwarf.err.eos.EOSFormatError(msg)

Bases: Exception

An exception class for EOS format error. This exception is raised when the EOS format is not recognized.

exception CoolDwarf.err.eos.EOSInverterError(msg)

Bases: Exception

An exception class for EOS inverter error. This exception is raised when an error occurs during the inversion of the EOS.

Module contents