debian-koji/koji
Ken Dreyer 3ff8eef322 add "NoSuch" custom exceptions
Add more custom exception classes. This will allow to programmatically
determine the error causes from complex RPCs.

This commit simply defines the new classes and fault codes. Nothing in
Koji's codebase uses these exceptions yet. We'll begin to raise these
exceptions after this is widely deployed for clients in the field.
2022-02-10 15:44:04 +01:00
..
__init__.py refactor exceptions to koji.exceptions 2022-02-10 15:44:04 +01:00
_version.py Release notes 1.27.1 2022-01-13 09:44:05 +01:00
arch.py backport py27 compatible file open with encoding 2021-02-16 14:13:03 +01:00
auth.py [hub] only raise error when authtype is not proxyauthtype 2021-12-15 15:04:20 +01:00
context.py flake8: apply E3 rules 2020-03-03 21:38:22 +08:00
daemon.py Allow password in SCM url with new builder option 2022-01-25 15:47:27 +01:00
db.py rename option 2022-02-07 10:07:26 +01:00
exceptions.py add "NoSuch" custom exceptions 2022-02-10 15:44:04 +01:00
Makefile Install into /usr/lib rather than /usr/lib64/ 2020-11-27 10:00:52 +01:00
plugin.py importlib instead of imp 2021-06-02 11:19:33 +02:00
policy.py flake8: apply E3 rules 2020-03-03 21:38:22 +08:00
rpmdiff.py use Exception instead of BaseException for bare expection 2020-03-03 21:38:22 +08:00
server.py flake8: apply E3 rules 2020-03-03 21:38:22 +08:00
tasks.py kojid: extend SCM.assert_allowed with hub policy 2021-08-16 17:55:26 +00:00
util.py basic security checks with bandit 2021-10-20 15:20:14 +02:00
xmlrpcplus.py flake8: apply E3 rules 2020-03-03 21:38:22 +08:00