Skip to content

Commit

Permalink
Update bind.md
Browse files Browse the repository at this point in the history
Added a requested clarification
  • Loading branch information
ItsMeSamey authored Nov 21, 2024
1 parent 080c001 commit 0cfa1c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/api/bind.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ For more control over error handling, you can use the following methods.

If you want to handle binder errors automatically, you can use `WithAutoHandling`.
If there's an error, it will return the error and set HTTP status to `400 Bad Request`.
This function does NOT panic therefor you must still return on error explicitly

```go title="Signature"
func (b *Bind) WithAutoHandling() *Bind
Expand Down

0 comments on commit 0cfa1c8

Please sign in to comment.