Files
spellbook/internal/errors/errors.go
T
abelith 4447b7343f feat: search cmd
chore: raw sql replaced with squirrel
fix: -n is now required for add cmd
2026-08-15 18:38:26 +05:00

13 lines
377 B
Go

package errors
import "fmt"
var (
ErrReservedCmd = fmt.Errorf("command name is reserved")
ErrInsufficientArgs = fmt.Errorf("mandatory args are missing")
ErrFailedToCast = fmt.Errorf("failed to cast spell")
ErrNoDBProvided = fmt.Errorf("no db provided")
ErrNotFound = fmt.Errorf("not found")
ErrEmptyQuery = fmt.Errorf("empty search query")
)