Versions in this module Expand all Collapse all v1 v1.5.1 Apr 28, 2017 Changes in this version + const ErrorPageTemplateExample + func AuthenticationErrorCode(err error) string + func AuthenticationErrorMessage(code string) string + func GrantErrorCode(err error) string + func GrantErrorMessage(code string) string + func ValidateErrorPageTemplate(templateContent []byte) []error + type ErrorData struct + Error string + ErrorCode string + type ErrorPage struct + func NewErrorPageHandler(renderer ErrorPageRenderer) *ErrorPage + func (p *ErrorPage) AuthenticationError(err error, w http.ResponseWriter, req *http.Request) (bool, error) + func (p *ErrorPage) GrantError(err error, w http.ResponseWriter, req *http.Request) (bool, error) + type ErrorPageRenderer interface + Render func(data ErrorData, w http.ResponseWriter, req *http.Request) + func NewErrorPageTemplateRenderer(templateFile string) (ErrorPageRenderer, error) v1.5.0-alpha.1 Dec 29, 2016 Incompatible versions in this module v3.7.0-alpha.0+incompatible Aug 1, 2017