github.com/geniusesgroup/libgo@v0.0.0-20220713101832-828057a9d3d4/go-parser/errors.go (about) 1 /* For license and copyright information please see LEGAL file in repository */ 2 3 package parser 4 5 import "errors" 6 7 //Declare Errors Details 8 var ( 9 ErrEmptyPackageFolder = errors.New("You can't have empty logic folder or logic package contain no compatible function") 10 ErrBadServiceName = errors.New("Each service file must start with ServiceID") 11 ErrBadServiceParameters = errors.New("Service functions must have just one struct as parameters") 12 )