Back to

Package errors

Latest Go to latest

The highest tagged major version is .

Published: Aug 21, 2020 | License: Apache-2.0 | Module:


Package errors contains custom error types and error utilities for reconcilers.


func Handle

func Handle(err error, ctx context.Context, msg string) error

Handle inspects the received error and returns either nil or the original error depending on the nature of that error. The context and message are used to produce log entries. Used to ensure a queued item is either requeued or dropped.

func IsSkippable

func IsSkippable(e error) bool

IsSkippable returns whether the given error is skippable.

func NewSkippable

func NewSkippable(e error) error

NewSkippable wraps an error into a skippable type so it gets ignored by the reconciler.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier