armi.utils.customExceptions module

Globally accessible exception definitions for better granularity on exception behavior and exception handling behavior.

armi.utils.customExceptions.info(func)[source]

Decorator to write to current log, using the info method.

armi.utils.customExceptions.important(func)[source]

Decorator to write to current log, using the inportant method.

armi.utils.customExceptions.warn(func)[source]

Decorates a method to produce a repeatable warning message.

armi.utils.customExceptions.warn_when_root(func)[source]

Decorates a method to produce a warning message only on the root node.

exception armi.utils.customExceptions.InputError(msg)[source]

Bases: Exception

An error found in an ARMI input file.

exception armi.utils.customExceptions.SettingException(msg)[source]

Bases: Exception

Standardize behavior of setting-family errors.

exception armi.utils.customExceptions.InvalidSettingsStopProcess(reader)[source]

Bases: armi.utils.customExceptions.SettingException

Exception raised when setting file contains invalid settings and user aborts or process is uninteractive.

exception armi.utils.customExceptions.NonexistentSetting(setting)[source]

Bases: armi.utils.customExceptions.SettingException

Exception raised when a non existent setting is asked for.

exception armi.utils.customExceptions.InvalidSettingsFileError(path, customMsgEnd='')[source]

Bases: armi.utils.customExceptions.SettingException

Not a valid settings file.

exception armi.utils.customExceptions.NonexistentSettingsFileError(path)[source]

Bases: armi.utils.customExceptions.SettingException

Settings file does not exist.