errors

package
v0.0.0-...-ec6d8fa Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: AGPL-3.0, Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IgnoreNotFound

func IgnoreNotFound(err error) error

func IsDeleteRepository

func IsDeleteRepository(err error) bool

func IsNotFound

func IsNotFound(err error) bool

Types

type KnownError

type KnownError string
const (
	ErrorNotFound             KnownError = "could not find resource"
	ErrorNotFoundOIDCProvider KnownError = "the resource you requested was not found"
	ErrExpected               KnownError = "this is a transient, expected error"
	ErrRetriable              KnownError = "Still waiting on read/write bindings, requeueing until they're available"
	ErrReferenceNotFound      KnownError = "Waiting for configured resource reference, requeueing until it's available"
	ErrDeleteRepository                  = "could not delete repository"
)

func (KnownError) Error

func (k KnownError) Error() string

func (KnownError) String

func (k KnownError) String() string

Jump to

Keyboard shortcuts

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