Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonErrorHandler ¶
type CommonErrorHandler struct {
GinErrorHandler
}
func (*CommonErrorHandler) GinErrorWithStatusHandler ¶
func (api *CommonErrorHandler) GinErrorWithStatusHandler(c *gin.Context, status int, err error)
func (*CommonErrorHandler) SetErrorHandler ¶
func (api *CommonErrorHandler) SetErrorHandler(errHandler GinErrorHandler)
type ErrorHandler ¶
type ErrorHandler interface {
SetErrorHandler(GinErrorHandler)
}
type GinErrorHandler ¶
Click to show internal directories.
Click to hide internal directories.