Merge pull request 'fix: remove error status from json' (#22) from fix/json-err-status into 0.3.0
Reviewed-on: #22
This commit is contained in:
commit
976b13bd38
|
@ -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