diff --git a/errors/errors.go b/errors/errors.go index fa30f274..f61a772f 100644 --- a/errors/errors.go +++ b/errors/errors.go @@ -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"`