Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BusinessError ¶
func New ¶
func New(Key string) BusinessError
func WithDetail ¶
func WithDetail(Key string, detail interface{}, err error) BusinessError
func WithErr ¶
func WithErr(Key string, err error) BusinessError
func (BusinessError) Error ¶
func (e BusinessError) Error() string
Click to show internal directories.
Click to hide internal directories.