Exceptions¶
- exception oslo.config.cfg.Error(msg=None)¶
Base class for cfg exceptions.
- exception oslo.config.cfg.ArgsAlreadyParsedError(msg=None)¶
Raised if a CLI opt is registered after parsing.
- exception oslo.config.cfg.NoSuchOptError(opt_name, group=None)¶
Raised if an opt which doesn’t exist is referenced.
- exception oslo.config.cfg.NoSuchGroupError(group_name)¶
Raised if a group which doesn’t exist is referenced.
- exception oslo.config.cfg.DuplicateOptError(opt_name)¶
Raised if multiple opts with the same name are registered.
- exception oslo.config.cfg.RequiredOptError(opt_name, group=None)¶
Raised if an option is required but no value is supplied by the user.
- exception oslo.config.cfg.TemplateSubstitutionError(msg=None)¶
Raised if an error occurs substituting a variable in an opt value.
- exception oslo.config.cfg.ConfigFilesNotFoundError(config_files)¶
Raised if one or more config files are not found.
- exception oslo.config.cfg.ConfigFileParseError(config_file, msg)¶
Raised if there is an error parsing a config file.
- exception oslo.config.cfg.ConfigFileValueError(msg=None)¶
Raised if a config file value does not match its opt type.