errors

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// * Generic.
	ErrNotFound      = errors.New("not found")
	ErrEmpty         = errors.New("empty")
	ErrInvalidFormat = errors.New("invalid format")

	// * Client.
	ErrConfigureVmwareClient       = errors.New("unable to configure vmware client")
	ErrOrganizationFormatIsInvalid = fmt.Errorf("organization has an %w", ErrInvalidFormat)

	// * VDCGroup
	// * VDCGroupFirewall.
	ErrInvalidFirewallRuleDirection  = fmt.Errorf("firewall rule direction has an %w", ErrInvalidFormat)
	ErrInvalidFirewallRuleIPProtocol = fmt.Errorf("firewall rule ipProtocol has an %w", ErrInvalidFormat)
	ErrInvalidFirewallRuleAction     = fmt.Errorf("firewall rule action has an %w", ErrInvalidFormat)

	// * FirewallAppPortProfile.
	ErrInvalidFirewallAppPortProfileProtocol = fmt.Errorf("firewall app port profile protocol has an %w", ErrInvalidFormat)
)

Functions

func IsNotFound added in v0.19.0

func IsNotFound(e error) bool

IsNotFound - Returns true if the error contains "not found".

Types

This section is empty.

Jump to

Keyboard shortcuts

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