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

Method setError

binder.go:198–204  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

196}
197
198func (b *ValueBinder) setError(err error) {
199 if b.errors == nil {
200 b.errors = []error{err}
201 return
202 }
203 b.errors = append(b.errors, err)
204}
205
206// BindError returns first seen bind error and resets/empties binder errors for further calls
207func (b *ValueBinder) BindError() error {

Callers 15

customFuncMethod · 0.95
MustStringMethod · 0.95
MustStringsMethod · 0.95
BindUnmarshalerMethod · 0.95
MustBindUnmarshalerMethod · 0.95
JSONUnmarshalerMethod · 0.95
MustJSONUnmarshalerMethod · 0.95
TextUnmarshalerMethod · 0.95
MustTextUnmarshalerMethod · 0.95
bindWithDelimiterMethod · 0.95
intValueMethod · 0.95
intMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected