errors

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// LabelConflict defines the conflict label error string
	LabelConflict = "LabelConflict"
)

Variables

This section is empty.

Functions

func IsLabelConflict added in v1.2.0

func IsLabelConflict(err error) bool

IsLabelConflict checks if the error is Label Conflict error

Types

type ErrorList

type ErrorList []error

ErrorList wraps a list of errors, it also fit for an Error interface

func (ErrorList) Error

func (e ErrorList) Error() string

Error implement error interface

func (ErrorList) HasError

func (e ErrorList) HasError() bool

HasError check if any error exists in list

type ManagedResourceHasNoDataError added in v1.2.0

type ManagedResourceHasNoDataError struct{}

ManagedResourceHasNoDataError identifies error caused by no data in maanged resource

func (ManagedResourceHasNoDataError) Error added in v1.2.0

type ResourceTrackerNotExistError

type ResourceTrackerNotExistError struct {
	Name string
}

ResourceTrackerNotExistError identifies error caused by resourcetracker not exist

func (ResourceTrackerNotExistError) Error

Error implement error interface

Jump to

Keyboard shortcuts

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