Files

14 lines
447 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")
ErrTemplateFailed = fmt.Errorf("failed to execute spell template")
)