We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9160a18 commit 6a7f746Copy full SHA for 6a7f746
types.go
@@ -44,12 +44,12 @@ func (r *Request) IsNotify() bool {
44
type Response struct {
45
Message
46
47
- // The error object in case a request fails.
48
- Error *Error `json:"error,omitempty"`
49
-
50
// The request id.
51
ID *ID `json:"id"`
52
+ // The error object in case a request fails.
+ Error *Error `json:"error,omitempty"`
+
53
// The result of a request. This member is REQUIRED on success.
54
// This member MUST NOT exist if there was an error invoking the method.
55
Result []byte `json:"result,omitempty"`
0 commit comments