Skip to content
Snippets Groups Projects
Commit 0c184ca5 authored by Gregory Szorc's avatar Gregory Szorc
Browse files

wireprotov2: change behavior of error frame

Now that we have a leading CBOR map in command response frames
to indicate overall command result status, we don't need to use
the error response frame to represent command errors. Instead,
we can reserve it for protocol and server level errors. And for the
special case of a command error that occurred after command response
frames were emitted.

The code for error handling still needs a ton of work. But we're
slowly going in the right direction...

Differential Revision: https://phab.mercurial-scm.org/D3386
parent 3ea8323d
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment