errorcategory

package
v1.50.6 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package errorcategory defines an analyzer that requires categories on newly created errors while allowing errors wrapped with fmt.Errorf and %w.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "errorcategory",
	Doc:  "require semantic categories when creating errors",
	Run:  run,
}

Analyzer reports error creation sites that do not assign a semantic category.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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