Commit 80bb555d authored by Steven Allen's avatar Steven Allen

doc: document semantics of Result/Error

parent bce485ce
...@@ -75,7 +75,8 @@ type Entry struct { ...@@ -75,7 +75,8 @@ type Entry struct {
} }
// Result is a special entry that includes an error, so that the client // Result is a special entry that includes an error, so that the client
// may be warned about internal errors. // may be warned about internal errors. If Error is non-nil, Entry must be
// empty.
type Result struct { type Result struct {
Entry Entry
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment