Documentation
¶
Overview ¶
Package errors wires the site's error feature.
The error feature provides the MVC not-found renderer used when no route matches a request. It is composed into the wider site using dependency injection.
Consumers typically do not call into this package directly. Instead, they include `site.Module`, which includes `errors.Module` and thereby installs the not-found registration.
Public API ¶
The public API of this package is `Module`, a DI module that installs the error feature into the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Module = signal.Module( route.Module, )
Module wires this package into the dependency graph.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package controller defines MVC controllers for the error feature.
|
Package controller defines MVC controllers for the error feature. |
|
Package model defines view models for the error feature.
|
Package model defines view models for the error feature. |
|
Package route registers the global not-found handler for the error feature.
|
Package route registers the global not-found handler for the error feature. |
|
Package view defines MVC views for the error feature.
|
Package view defines MVC views for the error feature. |