armi.reactor.parameters.exceptions module

exception armi.reactor.parameters.exceptions.ParameterDefinitionError(message)[source]

Bases: Exception

Exception raised due to a programming error.

Programming errors include:

  • Attempting to create two parameters with the same name.

  • Attempting to create a parameter outside of a ParameterFactory with statement.

exception armi.reactor.parameters.exceptions.ParameterError[source]

Bases: Exception

Exception raised due to a usage error.

Usage errors include:

  • Attempting to get the value of a parameter that has not been defined a value, and has no default.

  • Attempting to set the value of a parameter that cannot be set through setParam.

exception armi.reactor.parameters.exceptions.UnknownParameterError[source]

Bases: ParameterError

Exception raised due to a usage error.

Usage errors include:

  • Attempting to set the value of a parameter that has no definition and no rename