Documentation ¶ Index ¶ Variables func Prefix(prefix string, err error) error Constants ¶ This section is empty. Variables ¶ View Source var ( // As is an alias for errors.As. As = errors.As // New is an alias for errors.New. New = errors.New // Is is an alias for errors.Is. Is = errors.Is // Join is an alias for errors.Join. Join = errors.Join ) Functions ¶ func Prefix ¶ func Prefix(prefix string, err error) error Prefix an error. Types ¶ This section is empty. Source Files ¶ View all Source files errors.go Click to show internal directories. Click to hide internal directories.