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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.