errori

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCacheMiss              = wrench.Add("cache miss", wrench.Codes{HTTP: http.StatusNotFound})
	ErrNoResultForCoordinates = wrench.Add("no result found for given coordinates", wrench.Codes{HTTP: http.StatusNotFound})
	ErrMissingDefaultDocument = wrench.Add("missing default document", wrench.Codes{HTTP: http.StatusInternalServerError})
	ErrBucketNotExist         = wrench.Add("bucket does not exist", wrench.Codes{HTTP: http.StatusNotFound})
	ErrNextDone               = wrench.Add("next done", wrench.Codes{HTTP: http.StatusInternalServerError})
	ErrWebSocketClosed        = wrench.Add("websocket connection successfully closed", wrench.Codes{HTTP: http.StatusInternalServerError})
)

Sentinel errors.

These package-level errors represent shared, stable failure states used across Fabriktor packages. Each error is registered in wrench's global registry with its protocol codes, allowing errors.Is and HTTP response mapping to work consistently across service boundaries.

Functions

func Ignore added in v0.1.266

func Ignore(err error) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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