errors

package
v2.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL