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:
ExceptionAN error found in an ARMI input file.
-
exception
armi.utils.customExceptions.SettingException(msg)[source]¶ Bases:
ExceptionStandardize behavior of setting-family errors
-
exception
armi.utils.customExceptions.InvalidSettingsStopProcess(reader)[source]¶ Bases:
armi.utils.customExceptions.SettingExceptionException 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.SettingExceptionException raised when a non existent setting is asked for
-
exception
armi.utils.customExceptions.InvalidSettingsFileError(path, customMsgEnd='')[source]¶ Bases:
armi.utils.customExceptions.SettingExceptionNot a valid xml or settings file
-
exception
armi.utils.customExceptions.NonexistentSettingsFileError(path)[source]¶ Bases:
armi.utils.customExceptions.SettingExceptionSettings file does not exist