Add error comment

This commit is contained in:
Asim 2016-01-30 21:16:45 +00:00
parent 8edb0c4b06
commit 0bdd3bc1b6

View File

@ -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"`