xtry

package
v0.2.55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFuncType    = errors.New("func type not match error")
	ErrParamsNotMatch = errors.New("params not match error")
)

Functions

func Pipe

func Pipe(fns ...func() error) (err error)

func Try

func Try(fn func() error) (err error)

func Wrap

func Wrap(fn interface{}) func(...interface{}) func(...interface{}) (err error)

Wrap

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL