package
4.1.0+incompatible
Repository: https://github.com/openshift/origin.git
Documentation: pkg.go.dev
# Functions
AuthenticationErrorCode returns an error code for the given authentication error.
AuthenticationErrorMessage returns an error message for the given authentication error code.
GrantErrorCode returns an error code for the given grant error.
GrantErrorMessage returns an error message for the given grant error code.
NewErrorPageHandler returns an auth and grant error handler using the given renderer.
NewErrorPageRenderer creates an error page renderer that takes in an optional custom template to allow branding of the page.
ValidateErrorPageTemplate ensures the given template does not error when rendered with an ErrorData object as input.
# Constants
ErrorPageTemplateExample is a basic template for customizing the error page.
# Interfaces
ErrorPageRenderer handles rendering a given error code/message.