debian-forge/osbuild
Christian Kellner f5d00dd043 api: use more generic error member for exceptions
Rename the `API.exception` member to `API.error`, to make it more
generic, so it can also be used for other sort of errors in the
future. Also add a layer of additional structure with `type` and
`data` members so different types of errors apart. Currently only
`exception` is used.
Adapt the tests in test/mod/test_api.py to check for the new
structure and its content.
2020-10-09 10:47:44 +02:00
..
util osbuild: fix spelling mistakes found by codespell 2020-10-06 14:41:00 +02:00
__init__.py osbuild: extract CLI to prepare for additional entrypoints 2020-04-28 15:39:54 +02:00
__main__.py osbuild: use osbuild_cli directly as main entry 2020-07-17 16:30:46 +01:00
api.py api: use more generic error member for exceptions 2020-10-09 10:47:44 +02:00
buildroot.py buildroot: return a new CompletedBuild with output 2020-08-31 15:06:36 +02:00
loop.py loop: fix FD leak in mknod() 2020-04-21 13:02:29 +02:00
main_cli.py osbuild: unified libdir handling 2020-08-04 09:02:22 +02:00
meta.py meta: also validate the schema for sources 2020-06-02 09:50:14 +02:00
monitor.py monitor: add assembler/stage duration 2020-08-06 16:19:47 +02:00
objectstore.py objectstore: get returns object not path 2020-08-26 15:10:12 +02:00
pipeline.py api: use more generic error member for exceptions 2020-10-09 10:47:44 +02:00
remoteloop.py api: remove 'addr' param from message dispatcher 2020-07-29 02:16:20 +01:00
sources.py api: remove 'addr' param from message dispatcher 2020-07-29 02:16:20 +01:00
treesum.py treesum: don't use dir_fd parameter in os.scandir() 2019-11-29 00:45:14 +01:00