-
Notifications
You must be signed in to change notification settings - Fork 3
/
errors.go
16 lines (14 loc) · 851 Bytes
/
errors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main
import "errors"
var (
ErrNoCommandFoundCommands = errors.New("no command found in commands")
ErrArgProvidedButNotUsed = errors.New("argument provided but not used in the template")
ErrArgUsedInTemplateNotProvided = errors.New("argument used in template but not provided in args")
ErrNoCommandFoundHeading = errors.New("no command found in heading")
ErrNoLauncherDefined = errors.New("no launcher defined for infostring")
ErrNoInfostringOrShebang = errors.New("no infostring and no shebang defined")
ErrDuplicateCommand = errors.New("duplicate command found")
ErrDependencyNotFound = errors.New("dependency not found")
ErrCodeBlockExecFailed = errors.New("failed to execute code block")
ErrNoEnv = errors.New("env binary not found")
)