Documentation
¶
Index ¶
- Constants
- 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
- type ErrorPage
- type ErrorPageRenderer
Constants ¶
View Source
const ErrorPageTemplateExample = `` /* 1172-byte string literal not displayed */
ErrorPageTemplateExample is a basic template for customizing the error page.
Variables ¶
This section is empty.
Functions ¶
func AuthenticationErrorCode ¶
AuthenticationErrorCode returns an error code for the given authentication error. If the error is not recognized, a generic error code is returned.