MCPcopy
hub / github.com/labstack/echo / BindError

Method BindError

binder.go:207–214  ·  view source on GitHub ↗

BindError returns first seen bind error and resets/empties binder errors for further calls

()

Source from the content-addressed store, hash-verified

205
206// BindError returns first seen bind error and resets/empties binder errors for further calls
207func (b *ValueBinder) BindError() error {
208 if b.errors == nil {
209 return nil
210 }
211 err := b.errors[0]
212 b.errors = nil // reset errors so next chain will start from zero
213 return err
214}
215
216// BindErrors returns all bind errors and resets/empties binder errors for further calls
217func (b *ValueBinder) BindErrors() []error {

Calls

no outgoing calls