govpp icon indicating copy to clipboard operation
govpp copied to clipboard

Add GetRetVal fn to ResponseMessage interface

Open sknat opened this issue 3 years ago • 0 comments

This patch adds a GetRetVal function on all reply messages, that retreives the error value VPP returns in its Reply. If the field is not present or the value is 0 (success) it returns nil.

Signed-off-by: Nathan Skrzypczak [email protected] Change-Id: I55ca4d02b19909a3fd44c152962b934621646e9f

sknat avatar Aug 11 '22 13:08 sknat