From 199b91df3ca9db3ccf64b0b526e67fecb31c98a4 Mon Sep 17 00:00:00 2001 From: Martin Vrachev Date: Wed, 12 Jan 2022 18:08:46 +0200 Subject: [PATCH] Clarify what RepositoryError stands for Signed-off-by: Martin Vrachev --- tuf/api/exceptions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tuf/api/exceptions.py b/tuf/api/exceptions.py index 1d4081af..9a1303bc 100644 --- a/tuf/api/exceptions.py +++ b/tuf/api/exceptions.py @@ -12,7 +12,9 @@ class RepositoryError(Exception): - """An error with a repository's state, such as a missing file.""" + """An error with a repository's state, such as a missing file. + It covers all exceptions that come from the repository side when + looking from the perspective of users of metadata API or ngclient.""" class UnsignedMetadataError(RepositoryError):