dwerrors

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapSyncError

func WrapSyncError(err error) error

Types

type FailError

type FailError struct {
	// Err is the underlying error causing the problem. If nil, it is not included in the output of Error()
	Err error
	// Message is a user-friendly string explaining why the error occurred
	Message string
}

func (*FailError) Error

func (e *FailError) Error() string

func (*FailError) Unwrap

func (e *FailError) Unwrap() error

type RetryError

type RetryError struct {
	// Err is the underlying error causing the problem. If nil, it is not included in the output of Error()
	Err error
	// Message is a user-friendly string explaining why the error occurred
	Message string
	// RequeueAfter represents how long we should wait before requeueing a reconcile. If unspecified,
	// reconcile is requeued immediately.
	RequeueAfter time.Duration
}

func (*RetryError) Error

func (e *RetryError) Error() string

func (*RetryError) Unwrap

func (e *RetryError) Unwrap() error

type WarningError

type WarningError struct {
	// Message is a user-friendly string explaining the warning present
	Message string
}

func (*WarningError) Error

func (e *WarningError) Error() string

Jump to

Keyboard shortcuts

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