FailFast set internal flag to indicate if binding methods will return early (without binding) when previous bind failed NB: call this method before any other binding methods as it modifies binding methods behaviour
(value bool)
| 191 | // FailFast set internal flag to indicate if binding methods will return early (without binding) when previous bind failed |
| 192 | // NB: call this method before any other binding methods as it modifies binding methods behaviour |
| 193 | func (b *ValueBinder) FailFast(value bool) *ValueBinder { |
| 194 | b.failFast = value |
| 195 | return b |
| 196 | } |
| 197 | |
| 198 | func (b *ValueBinder) setError(err error) { |
| 199 | if b.errors == nil { |
no outgoing calls