impl Serialize/Deserialize for BoxError
Tarantool has a determined msgpack encoding format for BoxError, in particular the extended error info one. Currently we implemented the decoding part in network::protocol::codec::decode_extended_error
. We just need to implement the encoding and use those to implement traits serde::Serialize, serde::Deserialize, and our custom Encode/Decode ones as well.
This will allow us to store BoxError in raft log entries for example when returning errors from multistage governor operations (picodata#662 (closed))