Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorWithMessage ¶
ErrorWithMessage gin response with message
Types ¶
type ProxyError ¶
func Error ¶
func Error(code interface{}, message string) *ProxyError
Error according to the given message structure returns an ProxyError
func ErrorWith ¶
func ErrorWith(code interface{}, err error) *ProxyError
ErrorWith according to the given error structure returns an ProxyError
func ErrorWiths ¶
func ErrorWiths(code interface{}, message string, err error) *ProxyError
ErrorWiths according to the given message and error structure returns an ProxyError
func (*ProxyError) Error ¶
func (p *ProxyError) Error() string
Click to show internal directories.
Click to hide internal directories.