errors

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package errors decides whether a source failure is worth retrying. The pipeline asks one question — retry or fail — so this package exposes that one decision, not a taxonomy: a source classifies its own driver errors and falls back here for the rest.

Index

Constants

This section is empty.

Variables

View Source
var ErrNoData = stderrors.New("source produced no data")

ErrNoData marks a source that produced no data within its configured wait (#154). It is non-retryable: the operator must fix the configuration.

Functions

func Retryable

func Retryable(err error) bool

Retryable reports whether err is worth retrying. A permanent failure (bad credentials, a missing object, a malformed query) is never retried — it does not heal with backoff. A source with driver-specific codes classifies those first and calls this only for the remainder.

Types

This section is empty.

Jump to

Keyboard shortcuts

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