Documentation ¶ Index ¶ func GetCodeMsg(err error) (code int32, errmsg string) type UError func New(skip int, code int32, format string, msgs ...interface{}) *UError func (d *UError) Code() int32 func (d *UError) Error() string func (d *UError) Msg() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetCodeMsg ¶ func GetCodeMsg(err error) (code int32, errmsg string) Types ¶ type UError ¶ type UError struct { // contains filtered or unexported fields } func New ¶ func New(skip int, code int32, format string, msgs ...interface{}) *UError func (*UError) Code ¶ func (d *UError) Code() int32 func (*UError) Error ¶ func (d *UError) Error() string func (*UError) Msg ¶ func (d *UError) Msg() string Source Files ¶ View all Source files uerror.go Click to show internal directories. Click to hide internal directories.