MCPcopy
hub / github.com/gofiber/fiber / WithoutAutoHandling

Method WithoutAutoHandling

bind.go:138–142  ·  view source on GitHub ↗

WithoutAutoHandling If you want to handle binder errors manually, you can use `WithoutAutoHandling`. It's default behavior of binder.

()

Source from the content-addressed store, hash-verified

136// WithoutAutoHandling If you want to handle binder errors manually, you can use `WithoutAutoHandling`.
137// It's default behavior of binder.
138func (b *Bind) WithoutAutoHandling() *Bind {
139 b.shouldSkipErrHandling = true
140
141 return b
142}
143
144// WithAutoHandling If you want to handle binder errors automatically, you can use `WithAutoHandling`.
145// If there's an error, it will return the error and set HTTP status to `400 Bad Request`.

Calls

no outgoing calls