Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrTypeFramework = 1 ErrTypeBusiness = 2 )
View Source
const ( ErrCodeSuccess = 0 ErrCodeUnknown = 9999 ErrMsgSuccess = "success" )
Variables ¶
View Source
var ( ErrTypeMap = map[int]string{ ErrTypeFramework: "framework", ErrTypeBusiness: "business", } )
Functions ¶
func NewFrameworkErr ¶
NewFrameworkErr new framework error
Types ¶
Click to show internal directories.
Click to hide internal directories.