gitlab.com/evatix-go/core@v1.3.55/errcore/funcs.go (about)

     1  package errcore
     2  
     3  type (
     4  	ErrFunc         func() error
     5  	TaskWithErrFunc func() error
     6  	ErrBytesFunc    func() (rawBytes []byte, err error)
     7  	ErrStringsFunc  func() (lines []string, err error)
     8  	ErrStringFunc   func() (line string, err error)
     9  	ErrAnyFunc      func() (anyItem interface{}, err error)
    10  	ErrAnyItemsFunc func() (anyItems []interface{}, err error)
    11  	ErrInAnyFunc    func(anyItem interface{}) (err error)
    12  )