fix: remove error status from json #22
|
@ -13,7 +13,7 @@ type Err struct {
|
||||||
// error small description
|
// error small description
|
||||||
Reason string `json:"reason"`
|
Reason string `json:"reason"`
|
||||||
// associated HTTP status
|
// associated HTTP status
|
||||||
Status int
|
Status int `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (e Err) Error() string {
|
func (e Err) Error() string {
|
||||||
|
|
Loading…
Reference in New Issue