Lines Matching refs:err
87 if file, err := os.Open(filename); err != nil {
88 return nil, err
97 for _, err := range errs {
98 fmt.Fprintln(os.Stderr, err)
181 if err := recover(); err != nil {
182 fmt.Fprintf(os.Stderr, "error: %v\n", err)
198 if modules, err := processFile("<stdin>", os.Stdin); err != nil {
199 panic(err)
206 switch fileInfo, err := os.Stat(pathname); {
207 case err != nil:
208 panic(err)
212 if modules, err := processFile(pathname, nil); err != nil {
213 panic(err)
223 if b, err := json.MarshalIndent(flatModules, "", " "); err != nil {
224 panic(err)