Documentation
¶
Index ¶
- func AnyBasicErrFirstOrEmpty(basicErrors ...errcoreinf.BasicErrWrapper) *errorwrapper.Wrapper
- func AnyErrInfFirstOrEmpty(errInterfaces ...errcoreinf.BaseErrorOrCollectionWrapper) *errorwrapper.Wrapper
- func AnyFirstOrEmpty(wrappers ...*errorwrapper.Wrapper) *errorwrapper.Wrapper
- func ExecAllFunc(functions ...func() *errorwrapper.Wrapper) *[]*errorwrapper.Wrapper
- func ExecAnyFunc(functions ...func() *errorwrapper.Wrapper) *errorwrapper.Wrapper
- func Or(isCondition bool, trueWrapper, falseWrapper *errorwrapper.Wrapper) *errorwrapper.Wrapper
- func OrCollectionPtr(isCondition bool, trueWrappers, falseWrappers *errwrappers.Collection) *errwrappers.Collection
- func OrEmpty(isCondition bool, trueWrapper *errorwrapper.Wrapper) *errorwrapper.Wrapper
- func OrEmptyCollectionPtr(isCondition bool, trueWrappers *errwrappers.Collection) *errwrappers.Collection
- func WrapperOrFunc(wrapper *errorwrapper.Wrapper, errWrapperFunc func() *errorwrapper.Wrapper) *errorwrapper.Wrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnyBasicErrFirstOrEmpty ¶ added in v0.9.6
func AnyBasicErrFirstOrEmpty( basicErrors ...errcoreinf.BasicErrWrapper, ) *errorwrapper.Wrapper
AnyBasicErrFirstOrEmpty
OrNull Return which first wrapper which has error Return null based
func AnyErrInfFirstOrEmpty ¶ added in v0.9.6
func AnyErrInfFirstOrEmpty( errInterfaces ...errcoreinf.BaseErrorOrCollectionWrapper, ) *errorwrapper.Wrapper
AnyErrInfFirstOrEmpty
OrNull Return which first wrapper which has error Return null based
func AnyFirstOrEmpty ¶ added in v0.7.6
func AnyFirstOrEmpty( wrappers ...*errorwrapper.Wrapper, ) *errorwrapper.Wrapper
AnyFirstOrEmpty
OrNull Return which first wrapper which has error Return null based
func ExecAllFunc ¶ added in v0.5.6
func ExecAllFunc( functions ...func() *errorwrapper.Wrapper, ) *[]*errorwrapper.Wrapper
ExecAllFunc runs all and returns the final error
func ExecAnyFunc ¶ added in v0.6.5
func ExecAnyFunc( functions ...func() *errorwrapper.Wrapper, ) *errorwrapper.Wrapper
ExecAnyFunc
either one of the function returns error first will block the other to execute and returns the first one
func Or ¶
func Or( isCondition bool, trueWrapper, falseWrapper *errorwrapper.Wrapper, ) *errorwrapper.Wrapper
func OrCollectionPtr ¶ added in v0.3.6
func OrCollectionPtr( isCondition bool, trueWrappers, falseWrappers *errwrappers.Collection, ) *errwrappers.Collection
func OrEmpty ¶ added in v0.3.6
func OrEmpty( isCondition bool, trueWrapper *errorwrapper.Wrapper, ) *errorwrapper.Wrapper
func OrEmptyCollectionPtr ¶ added in v0.3.6
func OrEmptyCollectionPtr( isCondition bool, trueWrappers *errwrappers.Collection, ) *errwrappers.Collection
func WrapperOrFunc ¶ added in v0.6.5
func WrapperOrFunc( wrapper *errorwrapper.Wrapper, errWrapperFunc func() *errorwrapper.Wrapper, ) *errorwrapper.Wrapper
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.