Better pack exception message
cemsbr opened this issue · comments
Carlos Eduardo Moreira dos Santos commented
Currently, the user doesn't know the name of attribute containing the wrong value:
from pyof.v0x04.controller2switch.flow_mod import FlowMod
FlowMod().pack()
# PackException: Pack error: UBInt8 could not pack NoneType = None.