Revision 77e595e7 QMP/qmp-spec.txt

b/QMP/qmp-spec.txt
102 102

  
103 103
The format is:
104 104

  
105
{ "error": { "class": json-string, "data": json-value }, "id": json-value }
105
{ "error": { "class": json-string, "data": json-value, "desc": json-string },
106
  "id": json-value }
106 107

  
107 108
 Where,
108 109

  
109 110
- The "class" member contains the error class name (eg. "ServiceUnavailable")
110 111
- The "data" member contains specific error data and is defined in a
111 112
  per-command basis, it will be an empty json-object if the error has no data
113
- The "desc" member is a human-readable error message.  Clients should
114
  not attempt to parse this message.
112 115
- The "id" member contains the transaction identification associated with
113 116
  the command execution (if issued by the Client)
114 117

  

Also available in: Unified diff