errors

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package errors holds sentinel errors shared across packages that would otherwise have to import one another to match on them. Keeping the values here lets unrelated packages compare against the same error with errors.Is without creating a dependency between themselves.

At present this is the repository-construction error ErrNilDB, which the repository constructors return when handed a nil database connection.

Index

Constants

This section is empty.

Variables

View Source
var ErrNilDB = errors.New("database connection cannot be nil")

ErrNilDB is returned when a repository is initialized with a nil database connection.

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