golang.org/x/mod/module.InvalidVersionError.Err (field)
9 uses
golang.org/x/mod/module (current package)
module.go#L159: return fmt.Sprintf("%s@%s: invalid %s: %v", e.Path, v.Version, v.noun(), v.Err)
module.go#L177: Err error
module.go#L190: return fmt.Sprintf("%s %q invalid: %s", e.noun(), e.Version, e.Err)
module.go#L193: func (e *InvalidVersionError) Unwrap() error { return e.Err }
module.go#L208: Err: &InvalidVersionError{Version: version, Err: errors.New("not a semantic version")},
module.go#L569: Err: fmt.Errorf("should be %s, not %s", pathMajor, semver.Major(v)),
module.go#L653: Err: fmt.Errorf("disallowed version string"),
golang.org/x/mod/modfile
rule.go#L629: Err: err,
rule.go#L656: Err: errors.New("must be of the form v1.2.3"),
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |