Skip to content
Trilha

Error catalog

E_NO_ERROR_FUNC

error.go has no Error function

The custom error page declares no Error handler.

Fix

Name the handler Error with the (c *trilha.Ctx, err error) signature.

func Error(c *trilha.Ctx, err error) (h.Node, error) { return h.Div(), nil }