aerrors

package
v1.0.2-0...-306902c Latest Latest
Warning

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

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

Documentation

Overview

Package aerrors has all predefined argus errors on which errors.Is or errors.As can be used

Index

Constants

This section is empty.

Variables

View Source
var ErrCacheMiss = errors.New("cache miss error")

ErrCacheMiss when cache entry is not present

View Source
var ErrInvalidCache = errors.New("invalid cache error")

ErrInvalidCache when cache entry is invalid

View Source
var ErrNoChangeInUpdateOptions = errors.New("update: no change in additional options")

ErrNoChangeInUpdateOptions to ignore update

View Source
var ErrPodSucceeded = errors.New("pod status is [Succeeded]")

ErrPodSucceeded when pod is in succeeded state

View Source
var ErrResourceExists = errors.New("resource exists")

ErrResourceExists when resource exists

View Source
var ErrResourceGroupIsNotEmpty = errors.New("resource group is not empty, it has resources in it")

ErrResourceGroupIsNotEmpty when resource group has resources in it

View Source
var ErrResourceGroupParentIsNotValid = errors.New("parent of resource group is not valid")

ErrResourceGroupParentIsNotValid parent resource group is not valid

Functions

This section is empty.

Types

type MultiError

type MultiError interface {
	Append(error)
	Unwrap() error
	Error() string
}

func GetMultiError

func GetMultiError(message string, errors ...error) MultiError

Jump to

Keyboard shortcuts

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