Documentation
¶
Index ¶
- Variables
- func Assert()
- func AssertFn(fn reflect.Value) error
- func Debug(d ...interface{})
- func ErrHandle(err interface{}, fn ...func(err IErr))
- func Exit(err interface{}, msg interface{}, args ...interface{})
- func P(err error, msg string, args ...interface{})
- func Panic(err interface{})
- func PanicErr(d1 interface{}, err error) interface{}
- func PanicM(err interface{}, msg interface{}, args ...interface{})
- func PanicMM(err interface{}, fn func(err IErr))
- func PanicT(b bool, msg interface{}, args ...interface{})
- func PanicTT(b bool, fn func(err IErr))
- func Resp(fn func(err IErr))
- func RespErr(err *error)
- func Wrap(err interface{}, msg interface{}, args ...interface{}) error
- func WrapM(err interface{}, fn func(err IErr)) error
- type IErr
- type XErr
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDone = errors.New("xerror.done") ErrUnknownType = _XErr.New("UnknownType") )
Functions ¶
func Exit ¶ added in v0.1.27
func Exit(err interface{}, msg interface{}, args ...interface{})
Exit os exit when panic
func PanicErr ¶
func PanicErr(d1 interface{}, err error) interface{}
PanicErr panic with func()(interface{},error)
Types ¶
Click to show internal directories.
Click to hide internal directories.