Table of Contents

Enum DatabaseConnectionConfigurationFailure

Namespace
MailFathom.Infrastructure.Persistence.Connections
Assembly
MailFathom.Infrastructure.dll

Identifies why reloaded database connection settings cannot be adopted.

public enum DatabaseConnectionConfigurationFailure

Fields

ConnectionStringCarriesNoPassword = 1

The connection string that supplies the credential no longer carries a password.

ConnectionStringNotParsable = 0

The reference resolved, but the material behind it is not a valid PostgreSQL connection string.

CredentialSourceChangeRequiresRestart = 2

Which setting supplies the credential changed, which the running connection pool cannot adopt.

Rotating a credential and re-provisioning where credentials come from are different acts; only the first is reloadable.

Remarks

The identity is the whole failure vocabulary a diagnostic may carry. Neither the reference target, nor the resolved connection string, nor the credential inside it may accompany it.