Versions in this module Expand all Collapse all v0 v0.0.1 Aug 19, 2021 Changes in this version + var ErrAssert = errors.New("Condition check error", errors.WithVendor(errVendor), errors.WithCode(-3)) + var ErrEnsure = errors.New("Aftercondition check error", errors.WithVendor(errVendor), ...) + var ErrExpect = errors.New("Precondition check error", errors.WithVendor(errVendor), errors.WithCode(-1)) + func Assert(condition bool, msg string) + func Ensure(checker ConditionChecker) + func Expect(checker ConditionChecker) (err error) + func ExpectPanic(checker ConditionChecker) + type Asserter func(bool, string) + type ConditionChecker func(assert Asserter)