View definition

func ErrorHandler

Defined in github.com/astaxie/beego/error.go

Description

ErrorHandler registers http.HandlerFunc to each http err code string. usage:

beego.ErrorHandler("404",NotFound)
beego.ErrorHandler("500",InternalServerError)

ErrorHandler is referenced in 3 repositories

github.com/astaxie/beego github.com/deepzz0/goblog github.com/lisijie/webcron