class CertificateNotFoundException(Exception):
"""
Exception that denotes that the caller was trying to set
work with non-existing certificate
def __init__(self, id):
self.id = id
def __str__(self):
return f"Certificate id '{self.id}' does not exist."