Unexport http.Error.Code

This commit is contained in:
Cody Soyland 2018-07-05 21:59:57 -05:00
parent d95aeae175
commit 47c402c123

View file

@ -17,7 +17,7 @@ package http
// Error defines a standard application error.
type Error struct {
// Machine-readable error code.
Code string `json:"code,omitempty"`
code string `json:"code,omitempty"`
// Human-readable message.
Message string `json:"message"`