Skip to content

v0.1.4: Error Handler

Latest
Compare
Choose a tag to compare
@hawry hawry released this 12 Jan 15:35

Changes

New features

  • Added a new handler called Error Handler that will printout a standard error page if the returned status code is in the 400 or 500 series. Any calls to Write() after a 400/500 code is written to the ResponseWriter will be used as the message body in the error page.

Fixes

  • Removed unused source file (fp_handler.go)

Documentation

Documentation available at: https://godoc.org/github.com/hawry/middlewares