Gin error handler that responds with proper error responses when an error is added to the context. https://pkg.go.dev/codeberg.org/danjones000/gin-error-handler
Find a file
2024-01-22 20:08:03 -06:00
.gitignore 🎉 Initial commit 2024-01-17 21:25:44 -06:00
go.mod ⬆️ Upgrade to latest responsable-errors 2024-01-21 15:45:19 -06:00
go.sum ⬆️ Upgrade to latest responsable-errors 2024-01-21 15:45:19 -06:00
handler.go 📝 Add godocs 2024-01-22 20:08:03 -06:00
handler_test.go Add HandlerWithError 2024-01-17 23:17:21 -06:00
LICENSE 🎉 Initial commit 2024-01-17 21:25:44 -06:00
middleware.go 📝 Add godocs 2024-01-22 20:08:03 -06:00
middleware_test.go 🔊 Add WithLogger so we can log the rendered error 2024-01-22 10:29:58 -06:00
options.go 📝 Add godocs 2024-01-22 20:08:03 -06:00
options_test.go Add options, mostly transformers 2024-01-21 21:40:06 -06:00
README.md 🎉 Initial commit 2024-01-17 21:25:44 -06:00

Gin Error Handler

A Gin middleware and wrapper functions to make handling errors easier.