Download internal/state/errors.go from xjackkx/rg: direct link, hf CLI and curl.
- Browser
- Download file 284 Bytes
-
https://huggingface.co/spaces/xjackkx/rg/resolve/main/internal/state/errors.go
- Command line
-
hf download hf://spaces/xjackkx/rg/internal/state/errors.go
-
curl -L -o errors.go https://huggingface.co/spaces/xjackkx/rg/resolve/main/internal/state/errors.go
284 Bytes
| package state | |
| import "errors" | |
| // ErrNotFound is returned when a requested resource does not exist in the database. | |
| var ErrNotFound = errors.New("not found") | |
| // ErrConflict is returned when a write violates a uniqueness/conflict constraint. | |
| var ErrConflict = errors.New("conflict") | |