Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorWrapper ¶
func ErrorWrapper(h Handler) gin.HandlerFunc
func ReplyError ¶
Types ¶
type BizError ¶
type BizError struct { Status int `json:"-"` Code int `json:"code"` Message string `json:"message,omitempty"` Err error `json:"-"` }
func NewBizError ¶
func NewFromError ¶
Click to show internal directories.
Click to hide internal directories.