yera.creds.exceptions
Credential exception hierarchy.
Symbols
class CredentialGroupAlreadyExistsError — Target credential group name already exists during rename.
class CredentialGroupNotAuthorisedError — This project root is not in ``authorised_roots`` for the requested credential group.
class CredentialGroupNotFoundError — A named credential group has no entry in ``credential_groups``.
class CredentialStoreCorruptError — The credentials file cannot be parsed (invalid JSON or wrong top-level type).
CredentialError
Inherits:
YeraErrorSubclasses:
CredentialGroupAlreadyExistsError, CredentialGroupNameError, CredentialGroupNotAuthorisedError, CredentialGroupNotFoundError, CredentialGroupNotSpecifiedError, CredentialInvalidError, CredentialKeyError, CredentialStoreCorruptError, CredentialVersionErrorBase for all credential-related errors.
CredentialGroupAlreadyExistsError
Inherits:
CredentialErrorTarget credential group name already exists during rename.
CredentialGroupNameError
Inherits:
CredentialErrorA credential group name failed structural validation.
CredentialGroupNotAuthorisedError
Inherits:
CredentialErrorThis project root is not in authorised_roots for the requested credential group.
CredentialGroupNotFoundError
Inherits:
CredentialErrorA named credential group has no entry in credential_groups.
CredentialGroupNotSpecifiedError
Inherits:
CredentialErrorNo active credential group is configured for this project.
CredentialStoreCorruptError
Inherits:
CredentialErrorThe credentials file cannot be parsed (invalid JSON or wrong top-level type).
CredentialVersionError
Inherits:
CredentialErrorThe credentials file has an unsupported version number.