papi: more detailed packing error message 22/40622/2
authorKlement Sekera <[email protected]>
Fri, 29 Mar 2024 14:04:49 +0000 (15:04 +0100)
committerOle Tr�an <[email protected]>
Wed, 12 Jun 2024 11:55:50 +0000 (11:55 +0000)
commit5c0aa7d0b45dea7d19d12e6d7b12965703a9a053
treedc06089f6fcfbe02cf08f08a221b8ea2d8e6cf13
parent68b8125dbfc2c5ba7703d8af1c02585fd1263b37
papi: more detailed packing error message

'struct.error: required argument is not an integer'

is quite useless itself, so let's raise an error from it at least
saying what was the thing getting packed

Type: improvement
Change-Id: Icb762fbab98446d1e1331315e6c337f789cbba95
Signed-off-by: Klement Sekera <[email protected]>
src/vpp-api/python/vpp_papi/vpp_serializer.py