Skip to content
Snippets Groups Projects
Commit 45ac12ae authored by Vladislav Shpilevoy's avatar Vladislav Shpilevoy
Browse files

error: use error_payload in MessagePack codecs

Before this patch mp_error API could only encode and decode
hardcoded fields from the C++ classes inheriting struct error.

The fields are gone from the classes in a previous patch - moved
into error_payload. Now to be able to support arbitrary fields in
the payload the MessagePack encoding/decoding must use its content
instead of hardcoded fields depending on error type.

Part of #5568
Part of #4610
Part of #4907
parent 5c709076
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment