hpcflow.sdk.config.errors#

Miscellaneous configuration-related errors.

Exceptions

ConfigChangeFileUpdateError(names, err[, ...])

Raised when the updating of the config YAML file fails.

ConfigChangeInvalidError(name[, message])

Raised when trying to set an invalid key in the Config.

ConfigChangeInvalidJSONError(name, json_str, err)

Raised when attempting to set a config key using an invalid JSON string.

ConfigChangePopIndexError(name, length, index)

Raised when trying to pop an item from a config item with an invalid index.

ConfigChangeTypeInvalidError(name, typ[, ...])

Raised when trying to modify a config item using a list operation, when the config item is not a list.

ConfigChangeValidationError(name, validation_err)

Raised when a change to the configurable data would invalidate the config.

ConfigDefaultValidationError(validation_err)

Raised when the specified default configuration in the ConfigOptions object is invalid.

ConfigError

Raised when a valid configuration can not be associated with the current invocation.

ConfigFileInvocationIncompatibleError([message])

Raised when, given the run time information of the invocation, no compatible configuration can be found in the config file.

ConfigFileInvocationUnknownMatchKey(match_key)

Raised when the configuration contains an invalid match key.

ConfigFileValidationError(msg)

Raised when the configuration file fails validation.

ConfigInvocationKeyNotFoundError(invoc_key, ...)

Raised when a configuration invocation key is passed but it is not a valid key.

ConfigItemAlreadyUnsetError(name[, message])

Raised when the configuration tries to unset an unset item.

ConfigItemCallbackError(name, callback, err)

Raised when a configuration callback errors.

ConfigNonConfigurableError(name[, message])

Raised when the configuration contains an item that can't be configured.

ConfigUnknownItemError(name[, message])

Raised when the configuration contains an unknown item.

ConfigUnknownOverrideError(name[, message])

Raised when the configuration override contains an unknown item.

ConfigValidationError(message[, meta_data])

Raised when the matching config data is invalid.

MissingEnvironmentFileError(file_name, err)

Raised when an environment file specified in the config file does not exist.

MissingTaskSchemaFileError(file_name, err[, ...])

Raised when a task schema file specified in the config file does not exist.