Documentation ¶
Overview ¶
Package errormdl will help you catch error
Index ¶
Constants ¶
This section is empty.
Variables ¶
var IsTestingNegetiveCaseOn bool
IsTestingNegetiveCaseOn mark this on if you want system cases to fail
var IsTestingNegetiveCaseOn1 bool
IsTestingNegetiveCaseOn1 mark this on if you want system cases to fail
var IsTestingNegetiveCaseOn2 bool
IsTestingNegetiveCaseOn2 mark this on if you want system cases to fail
var IsTestingNegetiveCaseOn3 bool
IsTestingNegetiveCaseOn3 mark this on if you want system cases to fail
Functions ¶
func CheckBool ¶
CheckBool will help checking bool condition for real as well as test cases. It can fail based on IsTestingNegetiveCaseOn flag
func CheckErr ¶
CheckErr will help checking err condition for real as well as test cases. It can fail based on IsTestingNegetiveCaseOn flag
func CheckErr1 ¶
CheckErr1 condition for real as well as test cases. It can fail based on IsTestingNegetiveCaseOn1 flag
func CheckErr2 ¶
CheckErr2 condition for real as well as test cases. It can fail based on IsTestingNegetiveCaseOn2 flag
func CheckErr3 ¶
CheckErr3 condition for real as well as test cases. It can fail based on IsTestingNegetiveCaseOn3 flag
Types ¶
type CoreError ¶
type CoreError struct {
// contains filtered or unexported fields
}
CoreError is custom error