From a37beb634fe3c8378f3d418c5b5aabe83882438f Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sun, 14 Jan 2024 08:02:27 +0100 Subject: [PATCH] Add clarification to exception --- src/service_identity/exceptions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/service_identity/exceptions.py b/src/service_identity/exceptions.py index 5d573f6..a0c6f29 100644 --- a/src/service_identity/exceptions.py +++ b/src/service_identity/exceptions.py @@ -72,6 +72,9 @@ def __str__(self) -> str: class CertificateError(Exception): - """ + r""" Certificate contains invalid or unexpected data. + + This includes the case where s certificate contains no + ``subjectAltName``\ s. """