Add error comment
This commit is contained in:
parent
8edb0c4b06
commit
0bdd3bc1b6
@ -5,6 +5,9 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Errors provide a way to return detailed information
|
||||||
|
// for an RPC request error. The error is normally
|
||||||
|
// JSON encoded.
|
||||||
type Error struct {
|
type Error struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
Code int32 `json:"code"`
|
Code int32 `json:"code"`
|
||||||
|
Loading…
Reference in New Issue
Block a user