FallbackView registers one or more fallback views for a template or a template layout. Usage: FallbackView(iris.FallbackView("fallback.html")) FallbackView(iris.FallbackViewLayout("layouts/fallback.html")) OR FallbackView(iris.FallbackViewFunc(ctx iris.Context, err iris.ErrViewNotExist) error { err.
(provider context.FallbackViewProvider)
| 455 | // [...custom logic e.g. ctx.View("fallback", err.Data)] |
| 456 | // }) |
| 457 | FallbackView(provider context.FallbackViewProvider) |
| 458 | // Layout overrides the parent template layout with a more specific layout for this Party. |
| 459 | // It returns the current Party. |
| 460 | // |
no outgoing calls
no test coverage detected