Commit Graph

3 Commits

Author SHA1 Message Date
Giacomo Vercesi 56af9c1f9d Propagate errors from Analysis/Pipes to daemon
Leverage the `rp_error` mechanism to propagate errors from analyses and
pipes to the GraphQL schema.
2023-11-03 12:13:58 +01:00
Giacomo Vercesi f467671173 revng.api: drop the use of islice
The `itertools.islice` function does not support negative index slices,
rework the code of `collection.abc.Sequence` classes to use `range`
instead.
2023-11-03 12:13:57 +01:00
Giacomo Vercesi 6f3dc255cf revng.api: adopt rp_error
Change Python's API to handle the new `rp_error` and its two variations:
`DocumentError` and `SimpleError`.
2023-02-09 13:43:33 +01:00