Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BusinessError ¶
func FormatGRPCError ¶
func FormatGRPCError(err error) (e *BusinessError)
func NewBusinessError ¶
func NewBusinessError(code int, msg string) *BusinessError
func (*BusinessError) Error ¶
func (e *BusinessError) Error() string
Click to show internal directories.
Click to hide internal directories.