oslo_config.cfg.
Error
(msg=None)¶Base class for cfg exceptions.
oslo_config.cfg.
NotInitializedError
(msg=None)¶Raised if parser is not initialized yet.
oslo_config.cfg.
ArgsAlreadyParsedError
(msg=None)¶Raised if a CLI opt is registered after parsing.
oslo_config.cfg.
NoSuchOptError
(opt_name, group=None)¶Raised if an opt which doesn’t exist is referenced.
oslo_config.cfg.
NoSuchGroupError
(group_name)¶Raised if a group which doesn’t exist is referenced.
oslo_config.cfg.
DuplicateOptError
(opt_name)¶Raised if multiple opts with the same name are registered.
oslo_config.cfg.
RequiredOptError
(opt_name, group=None)¶Raised if an option is required but no value is supplied by the user.
oslo_config.cfg.
TemplateSubstitutionError
(msg=None)¶Raised if an error occurs substituting a variable in an opt value.
oslo_config.cfg.
ConfigFilesNotFoundError
(config_files)¶Raised if one or more config files are not found.
oslo_config.cfg.
ConfigFilesPermissionDeniedError
(config_files)¶Raised if one or more config files are not readable.
oslo_config.cfg.
ConfigDirNotFoundError
(config_dir)¶Raised if the requested config-dir is not found.
oslo_config.cfg.
ConfigFileParseError
(config_file, msg)¶Raised if there is an error parsing a config file.
oslo_config.cfg.
ConfigFileValueError
(msg=None)¶Raised if a config file value does not match its opt type.
oslo_config.cfg.
DefaultValueError
(msg=None)¶Raised if a default config type does not fit the opt type.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.