// SetError controls whether or not the specified functions return an error or not.
// If val is set to true, all provided methods belonging to this struct will return
// errors when called.
SetError controls whether or not the specified functions return an error or not.
If val is set to true, all provided methods belonging to this struct will return
errors when called.
// SetError controls whether or not the specified functions return an error or not . // If val is set to true all provided methods belonging to this struct will return // errors when called .
func (a *AlgorandMock) SetError(val bool, f ...interface{}) {
	for _, i := range f {
		funcName := runtime.FuncForPC(reflect.ValueOf(i).Pointer()).Name()
		a.ErrorFunctions[funcName] = val
	}
}
func ( a * AlgorandMock ) SetError ( val bool , f ... interface { } ) { for _ , i := range f { funcName := runtime . FuncForPC ( reflect . ValueOf ( i ) . Pointer ( ) ) . Name ( ) a . ErrorFunctions [ funcName ] = val } }
SetError controls whether or not the specified functions return an error or not.
SetError controls whether or not the specified functions return an error or not .