python-tuf/examples
Martin Vrachev 4b61be9cf7 Add tuf/api/exceptions.py
Add tuf/api/exceptions.py for exceptions in the new code.
I copied the exceptions from tuf/exceptions.py with a few important
decisions:
1. I only added the exceptions that are used in the new code
2. I removed the general "Error" class as we can directly inherit
Exceptions
3. I tried grouping the exceptions by relevance
4. I removed the second argument "UnsignedMetadataError" as it's only
kept for backward compatibility and is not used
5. I tried following the new code style guidelines and linted the file
with our linters.

Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
2022-01-19 16:52:19 +02:00
..
client_example Add tuf/api/exceptions.py 2022-01-19 16:52:19 +02:00
repo_example doc: clarify math in hash bin delegation example 2021-12-10 10:13:42 +01:00
README.md docs: add examples to the RTD 2022-01-18 13:14:02 +01:00

Usage examples