summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/asyncrpc/exceptions.py
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2023-11-03 08:26:28 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-11-09 17:33:03 +0000
commitdabed6288ad0b4593872bd71117b2ebb4eee1ae4 (patch)
tree2abb8ca3532a3f37253c460cfb2344ac25bab732 /bitbake/lib/bb/asyncrpc/exceptions.py
parente31396eb1c7a224d0db5000e61209d0bdb8eb16c (diff)
downloadpoky-dabed6288ad0b4593872bd71117b2ebb4eee1ae4.tar.gz
bitbake: asyncrpc: Add InvokeError
Adds support for Invocation Errors (that is, errors raised by the actual RPC call instead of at the protocol level) to propagate across the connection. If a server RPC call raises an InvokeError, it will be sent across the connection and then raised on the client side also. The connection is still terminated on this error. (Bitbake rev: 50ee68175e7cf20a32bfbb176db2c47d7859da04) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/asyncrpc/exceptions.py')
-rw-r--r--bitbake/lib/bb/asyncrpc/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/asyncrpc/exceptions.py b/bitbake/lib/bb/asyncrpc/exceptions.py
index a8942b4f0c..ae1043a38b 100644
--- a/bitbake/lib/bb/asyncrpc/exceptions.py
+++ b/bitbake/lib/bb/asyncrpc/exceptions.py
@@ -9,6 +9,10 @@ class ClientError(Exception):
9 pass 9 pass
10 10
11 11
12class InvokeError(Exception):
13 pass
14
15
12class ServerError(Exception): 16class ServerError(Exception):
13 pass 17 pass
14 18