Exceptions
Exceptions of the infrastructure app.
The platform catches these, never a cloud provider’s own exceptions: each provider translates its SDK’s errors into them.
- exception smarter.apps.infrastructure.exceptions.CertificateNotFound(message='')[source]
Bases:
CertificateServiceError,InfrastructureResourceNotFoundA certificate does not exist.
- exception smarter.apps.infrastructure.exceptions.CertificateNotIssued(message='')[source]
Bases:
CertificateServiceErrorA certificate exists, but is not issued.
- exception smarter.apps.infrastructure.exceptions.CertificateServiceError(message='')[source]
Bases:
SmarterInfrastructureErrorThe certificate service failed.
- exception smarter.apps.infrastructure.exceptions.CertificateTimeout(message='')[source]
Bases:
CertificateServiceError,InfrastructureTimeoutA certificate was not issued, or its validation records were not generated, in time.
- exception smarter.apps.infrastructure.exceptions.DNSRecordTimeout(message='')[source]
Bases:
DNSServiceError,InfrastructureTimeoutA DNS record did not appear in its zone in time.
- exception smarter.apps.infrastructure.exceptions.DNSServiceError(message='')[source]
Bases:
SmarterInfrastructureErrorThe DNS service failed.
- exception smarter.apps.infrastructure.exceptions.DNSZoneNotFound(message='')[source]
Bases:
DNSServiceError,InfrastructureResourceNotFoundA DNS zone does not exist.
- exception smarter.apps.infrastructure.exceptions.EmailServiceError(message='')[source]
Bases:
SmarterInfrastructureErrorThe email service is misconfigured.
- exception smarter.apps.infrastructure.exceptions.InfrastructureConfigurationError(message='')[source]
Bases:
SmarterInfrastructureErrorAn infrastructure service is misconfigured, or is refused in the unit tests.
The real cloud and cluster credentials of the Smarter containers can create billable resources, so the real services refuse to run in the unit tests unless they are asked to.
- exception smarter.apps.infrastructure.exceptions.InfrastructureNotReadyError(message='')[source]
Bases:
SmarterInfrastructureErrorAn infrastructure service is not authenticated, or not connected.
- exception smarter.apps.infrastructure.exceptions.InfrastructureResourceNotFound(message='')[source]
Bases:
SmarterInfrastructureErrorAn infrastructure resource, e.g. a DNS zone or a certificate, does not exist.
- exception smarter.apps.infrastructure.exceptions.InfrastructureTimeout(message='')[source]
Bases:
SmarterInfrastructureErrorAn infrastructure resource did not reach the expected state in time.
- exception smarter.apps.infrastructure.exceptions.KubernetesServiceError(message='')[source]
Bases:
SmarterInfrastructureErrorThe Kubernetes cluster is unavailable, or rejected a request.