Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrExpect = errors.New("Precondition check error", errors.WithVendor(errVendor), errors.WithCode(-1)) ErrEnsure = errors.New("Aftercondition check error", errors.WithVendor(errVendor), errors.WithCode(-2)) ErrAssert = errors.New("Condition check error", errors.WithVendor(errVendor), errors.WithCode(-3)) )
errors
Functions ¶
func Ensure ¶
func Ensure(checker ConditionChecker)
Types ¶
type ConditionChecker ¶
type ConditionChecker func(assert Asserter)
Click to show internal directories.
Click to hide internal directories.