MCPcopy
hub / github.com/writefreely/writefreely / SetErrorPages

Method SetErrorPages

handle.go:126–128  ·  view source on GitHub ↗

SetErrorPages sets the given set of ErrorPages as templates for any errors that come up.

(e *ErrorPages)

Source from the content-addressed store, hash-verified

124// SetErrorPages sets the given set of ErrorPages as templates for any errors
125// that come up.
126func (h *Handler) SetErrorPages(e *ErrorPages) {
127 h.errors = e
128}
129
130// User handles requests made in the web application by the authenticated user.
131// This provides user-friendly HTML pages and actions that work in the browser.

Callers 1

NewWFHandlerFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected