HomeSoftware Heritage

client: Raise GraphArgumentException on 4xx response, instead of generic…

Description

client: Raise GraphArgumentException on 4xx response, instead of generic RemoteException.

For consistency with other RPC clients, and because RemoteException is too
generic to be useful (it also covers internal errors of the server, which
can be temporary errors, unlike GraphArgumentException which is for invalid
arguments)

Details

Provenance
vlorentzAuthored on May 4 2021, 12:13 PM
vlorentzPushed on May 5 2021, 11:02 AM
Parents
rDGRPH62c2fd37264f: Traversal: Fix ignored maxEdges being ignored in overloaded constructor.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 21266
Build 33024: test-and-buildJenkins console · Jenkins