MCPcopy Index your code
hub / github.com/labstack/echo / FailFast

Method FailFast

binder.go:193–196  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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
193func (b *ValueBinder) FailFast(value bool) *ValueBinder {
194 b.failFast = value
195 return b
196}
197
198func (b *ValueBinder) setError(err error) {
199 if b.errors == nil {

Calls

no outgoing calls