Projekt

Obecné

Profil

Stáhnout (297 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
class CertificateNotFoundException(Exception):
2
    """
3
    Exception that denotes that the caller was trying to set
4
    work with non-existing certificate
5
    """
6

    
7
    def __init__(self, id):
8
        self.id = id
9

    
10
    def __str__(self):
11
        return f"Certificate id '{self.id}' does not exist."
(2-2/5)