forked from mtusi2026/mtusi2026lab2
fix: classify database outages and restore real HTTP fault checks
This commit is contained in:
@@ -11,6 +11,9 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
// ErrUnavailable means a required storage dependency cannot serve the operation.
|
||||
ErrUnavailable = errors.New("storage unavailable")
|
||||
|
||||
// ErrNotFound means a record does not exist.
|
||||
ErrNotFound = errors.New("record not found")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user