Skip to content

Commit 33f76cf

Browse files
committed
Error extra
1 parent 47b24bd commit 33f76cf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

error.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ import (
1010
)
1111

1212
type Error struct {
13-
Status int `json:"status"`
14-
Code int `json:"code"`
15-
Description string `json:"description"`
13+
Status int `json:"status"`
14+
Code int `json:"code"`
15+
Description string `json:"description"`
16+
Extra interface{} `json:"extra,omitempty"`
1617
trace string
1718
}
1819

0 commit comments

Comments
 (0)