goc/pkg/build/errors.go

16 lines
580 B
Go
Raw Normal View History

2020-06-16 05:21:28 +00:00
package build
import (
"errors"
)
var (
ErrShouldNotReached = errors.New("should never be reached")
ErrGocShouldExecInProject = errors.New("goc not executed in project directory")
ErrWrongPackageTypeForInstall = errors.New("packages only support \".\" and \"./...\"")
ErrWrongPackageTypeForBuild = errors.New("packages only support \".\"")
2020-06-18 08:20:54 +00:00
ErrTooManyArgs = errors.New("too many args")
2020-06-16 05:21:28 +00:00
ErrWrongCallSequence = errors.New("function should be called in a specified sequence")
ErrNoplaceToInstall = errors.New("no go env")
)