yera.creds.exceptions

Credential exception hierarchy.

Symbols

class CredentialError — Base for all credential-related errors.
class CredentialGroupAlreadyExistsError — Target credential group name already exists during rename.
class CredentialGroupNameError — A credential group name failed structural validation.
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 CredentialGroupNotSpecifiedError — No active credential group is configured for this project.
class CredentialInvalidError — A single credential entry failed schema validation.
class CredentialKeyError — A credential key failed structural validation.
class CredentialStoreCorruptError — The credentials file cannot be parsed (invalid JSON or wrong top-level type).
class CredentialVersionError — The credentials file has an unsupported version number.

CredentialGroupAlreadyExistsError

Inherits: CredentialError

Target credential group name already exists during rename.

CredentialGroupNameError

Inherits: CredentialError

A credential group name failed structural validation.

CredentialGroupNotAuthorisedError

Inherits: CredentialError

This project root is not in authorised_roots for the requested credential group.

CredentialGroupNotFoundError

Inherits: CredentialError

A named credential group has no entry in credential_groups.

CredentialGroupNotSpecifiedError

Inherits: CredentialError

No active credential group is configured for this project.

CredentialInvalidError

Inherits: CredentialError

A single credential entry failed schema validation.

CredentialKeyError

Inherits: CredentialError

A credential key failed structural validation.

CredentialStoreCorruptError

Inherits: CredentialError

The credentials file cannot be parsed (invalid JSON or wrong top-level type).

CredentialVersionError

Inherits: CredentialError

The credentials file has an unsupported version number.