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.
Click to show internal directories.
Click to hide internal directories.