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