Searched defs:PackageError (Results 1 – 3 of 3) sorted by relevance
456 type PackageError struct { struct457 ImportStack []string // shortest path from package named on command line to this one458 Pos string // position of error459 Err error // the error itself460 IsImportCycle bool // the error is an import cycle461 …d bool // whether the error is soft or hard; soft errors are ignored in some places462 alwaysPrintStack bool // whether to always print the ImportStack465 func (p *PackageError) Error() string {491 func (p *PackageError) Unwrap() error { return p.Err }495 func (p *PackageError) MarshalJSON() ([]byte, error) {[all …]
77 type PackageError string // type returned by pkg.Fatalf. type
165 class PackageError(TestError): class