errors

package
v0.6.40 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: AGPL-3.0, Apache-2.0, MIT Imports: 4 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 IsNetworkError

func IsNetworkError(err error, code int) bool

func IsNotFound

func IsNotFound(err error) bool

func IsUnauthenticated

func IsUnauthenticated(err error) bool

Types

type KnownError

type KnownError string
const (
	ErrNotFound         KnownError = "could not find resource"
	ErrUnauthenticated  KnownError = "unauthenticated"
	ErrExpected         KnownError = "this is a transient, expected error"
	ErrRetriable        KnownError = "Still waiting on read/write bindings, requeueing until they're 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