serr

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2026 License: LGPL-2.1 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotFound maps missing resources to 404.
	ErrNotFound = errors.New("not found")

	// ErrBadInput maps invalid client input to 400.
	ErrBadInput = errors.New("bad input")

	// ErrUnavailable maps temporary resource failures to 503.
	ErrUnavailable = errors.New("unavailable")

	// ErrRangeNotSatisfiable maps unsatisfiable range requests to 416.
	ErrRangeNotSatisfiable = errors.New("range not satisfiable")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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