Search Results
7/2/2025, 3:37:25 PM
I'm using the Fiber framework for Go and it's weird because it can end up sending random Go error messages to the client. A route handler could return an arbitrary error with the message "smelly poo" and that message would get sent to the client. So I added my own error handler so that arbitrary errors will instead result in a status 500 and the text "Internal Server Error" being sent to the client.
Page 1