errors

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInsufficientInformation = errors.New("insufficient information to continue")

ErrInsufficientInformation Error to represent cases in which a plugin had to interrupt its execution due to missing information (e.g., in the BOM or in the filesystem)

View Source
var ErrParsingFailedAlthoughChecked = errors.New("failed to parse file that was assumed to be a valid configuration")

ErrParsingFailedAlthoughChecked Error to represent cases in which parsing of a relevant file failed although the plugin verified the file beforehand; this error might suggest a bug

View Source
var ErrUnknownKeyAlgorithm = errors.New("key block uses unknown algorithm")

ErrUnknownKeyAlgorithm Error

View Source
var ErrX509UnknownAlgorithm = errors.New("x.509 certificate has unknown algorithm")

ErrX509UnknownAlgorithm During parsing of the x509.Certificate an unknown algorithm was found

Functions

func GetInsufficientInformationError

func GetInsufficientInformationError(msg string, componentName string) error

GetInsufficientInformationError Error to represent cases in which a plugin had to interrupt its execution due to missing information (e.g., in the BOM or in the filesystem)

func GetParsingFailedAlthoughCheckedError

func GetParsingFailedAlthoughCheckedError(parsingError error, plugin string) error

GetParsingFailedAlthoughCheckedError Error to represent cases in which parsing of a relevant file failed although the plugin verified the file beforehand; this error might suggest a bug

Types

This section is empty.

Jump to

Keyboard shortcuts

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