- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for printError (0.09 sec)
-
src/cmd/gofmt/gofmt.go
// changing its exit code to a nonzero value. func (r *reporter) Report(err error) { if err == nil { panic("Report with nil error") } st := r.getState() scanner.PrintError(st.err, err) st.exitCode = 2 } func (r *reporter) ExitCode() int { return r.getState().exitCode } // If info == nil, we are formatting stdin instead of a file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 15.1K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
set, projectArtifact, remoteRepositories(), localRepository(), mds); printErrors(result); i = result.getArtifacts().iterator(); assertEquals(m, i.next(), "m should be first"); assertEquals(n, i.next(), "n should be second"); } private void printErrors(ArtifactResolutionResult result) { if (result.hasMissingArtifacts()) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 10.1K bytes - Viewed (0)