iproto: rename IPROTO_ERROR and IPROTO_ERROR_STACK
IPROTO_ERROR in fact is not an error. It is an error message. Secondly, this key is deprecated in favor of IPROTO_ERROR_STACK, which contains all attributes of the whole error stack. It uses MP_ERROR MessagePack extenstion for that. So IPROTO_ERROR is renamed to IPROTO_ERROR_24 (similar to how old call was renamed to IPROTO_CALL_16). IPROTO_ERROR_STACK becomes new IPROTO_ERROR. Follow up #4398
Showing
- src/box/iproto_constants.h 2 additions, 2 deletionssrc/box/iproto_constants.h
- src/box/lua/net_box.lua 13 additions, 12 deletionssrc/box/lua/net_box.lua
- src/box/xrow.c 5 additions, 5 deletionssrc/box/xrow.c
- test/box/iproto.result 4 additions, 4 deletionstest/box/iproto.result
- test/box/iproto.test.lua 3 additions, 3 deletionstest/box/iproto.test.lua
Loading
Please register or sign in to comment