errors

package
v0.0.0-...-0ec9d85 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCustomLogoError

func IsCustomLogoError(err error) bool

func IsSyncError

func IsSyncError(err error) bool

Types

type CustomLogoError

type CustomLogoError struct {
	// contains filtered or unexported fields
}

func NewCustomLogoError

func NewCustomLogoError(msg string) *CustomLogoError

func (*CustomLogoError) Error

func (e *CustomLogoError) Error() string

implement the error interface

type SyncProgressingError

type SyncProgressingError struct {
	// contains filtered or unexported fields
}

a sync progressing error captures the idea that the operand is in an incomplete state and needs to be reconciled. It should be used when the sync loop should abort, but it implies the idea of "progressing", not "failure". A built-in error type can be used and returned when a true failure is encountered.

func NewSyncError

func NewSyncError(msg string) *SyncProgressingError

NewSyncError("Sync failed on xyz") A builder func, should we choose to add additional metadata on the custom err

func (*SyncProgressingError) Error

func (e *SyncProgressingError) Error() string

implement the error interface

Jump to

Keyboard shortcuts

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