Debian Codegraph @

errors/types.go

raw symbols SCIP
1 package errorsscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/
2
3 import (
4 goerrorsscip-go gomod github.com/golang/go/src go1.25.0 errors/ "errorsscip-go gomod github.com/golang/go/src go1.25.0 errors/"
5 "fmtscip-go gomod github.com/golang/go/src go1.25.0 fmt/"
6 "net/urlscip-go gomod github.com/golang/go/src go1.25.0 `net/url`/"
7 "os/execscip-go gomod github.com/golang/go/src go1.25.0 `os/exec`/"
8 "strconvscip-go gomod github.com/golang/go/src go1.25.0 strconv/"
9 "syscallscip-go gomod github.com/golang/go/src go1.25.0 syscall/"
10 "timescip-go gomod github.com/golang/go/src go1.25.0 time/"
11
12 "github.com/git-lfs/git-lfs/v3/trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/"
13 "github.com/pkg/errorsscip-go gomod github.com/pkg/errors v0.9.1 `github.com/pkg/errors`/"
14 )
15
16 // IsFatalError indicates that the error is fatal and the process should exit
17 // immediately after handling the error.
18 func IsFatalErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsFatalError().(err error) bool {
19 if e, ok := err.(interface {
20 Fatal() bool
21 }); ok {
22 return e.Fatal()
23 }
24 if parent := parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err); parent != nil {
25 return IsFatalErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsFatalError().(parent)
26 }
27 return false
28 }
29
30 // IsNotImplementedError indicates the client attempted to use a feature the
31 // server has not implemented (e.g. the batch endpoint).
32 func IsNotImplementedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsNotImplementedError().(err error) bool {
33 if e, ok := err.(interface {
34 NotImplemented() bool
35 }); ok {
36 return e.NotImplemented()
37 }
38 if parent := parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err); parent != nil {
39 return IsNotImplementedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsNotImplementedError().(parent)
40 }
41 return false
42 }
43
44 // IsAuthError indicates the client provided a request with invalid or no
45 // authentication credentials when credentials are required (e.g. HTTP 401).
46 func IsAuthErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsAuthError().(err error) bool {
47 if e, ok := err.(interface {
48 AuthError() bool
49 }); ok {
50 return e.AuthError()
51 }
52 if parent := parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err); parent != nil {
53 return IsAuthErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsAuthError().(parent)
54 }
55 return false
56 }
57
58 // IsSmudgeError indicates an error while smudging a files.
59 func IsSmudgeErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsSmudgeError().(err error) bool {
60 if e, ok := err.(interface {
61 SmudgeError() bool
62 }); ok {
63 return e.SmudgeError()
64 }
65 if parent := parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err); parent != nil {
66 return IsSmudgeErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsSmudgeError().(parent)
67 }
68 return false
69 }
70
71 // IsCleanPointerError indicates an error while cleaning a file.
72 func IsCleanPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsCleanPointerError().(err error) bool {
73 if e, ok := err.(interface {
74 CleanPointerError() bool
75 }); ok {
76 return e.CleanPointerError()
77 }
78 if parent := parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err); parent != nil {
79 return IsCleanPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsCleanPointerError().(parent)
80 }
81 return false
82 }
83
84 // IsNotAPointerError indicates the parsed data is not an LFS pointer.
85 func IsNotAPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsNotAPointerError().(err error) bool {
86 if e, ok := err.(interface {
87 NotAPointerError() bool
88 }); ok {
89 return e.NotAPointerError()
90 }
91 if parent := parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err); parent != nil {
92 return IsNotAPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsNotAPointerError().(parent)
93 }
94 return false
95 }
96
97 // IsNotAPointerError indicates the parsed data is not an LFS pointer.
98 func IsPointerScanErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsPointerScanError().(err error) bool {
99 if e, ok := err.(interface {
100 PointerScanError() bool
101 }); ok {
102 return e.PointerScanError()
103 }
104 if parent := parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err); parent != nil {
105 return IsPointerScanErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsPointerScanError().(parent)
106 }
107 return false
108 }
109
110 // IsBadPointerKeyError indicates that the parsed data has an invalid key.
111 func IsBadPointerKeyErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsBadPointerKeyError().(err error) bool {
112 if e, ok := err.(interface {
113 BadPointerKeyError() bool
114 }); ok {
115 return e.BadPointerKeyError()
116 }
117
118 if parent := parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err); parent != nil {
119 return IsBadPointerKeyErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsBadPointerKeyError().(parent)
120 }
121 return false
122 }
123
124 // IsProtocolError indicates that the SSH pkt-line protocol data is invalid.
125 func IsProtocolErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsProtocolError().(err error) bool {
126 if e, ok := err.(interface {
127 ProtocolError() bool
128 }); ok {
129 return e.ProtocolError()
130 }
131
132 if parent := parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err); parent != nil {
133 return IsProtocolErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsProtocolError().(parent)
134 }
135 return false
136 }
137
138 // If an error is abad pointer error of any type, returns NotAPointerError
139 func StandardizeBadPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/StandardizeBadPointerError().(err error) error {
140 if IsBadPointerKeyErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsBadPointerKeyError().(err) {
141 badErr := err.(badPointerKeyErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/badPointerKeyError#)
142 if badErr.Expectedscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/badPointerKeyError#Expected. == "version" {
143 return NewNotAPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewNotAPointerError().(err)
144 }
145 }
146 return err
147 }
148
149 // IsDownloadDeclinedError indicates that the smudge operation should not download.
150 // TODO: I don't really like using errors to control that flow, it should be refactored.
151 func IsDownloadDeclinedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsDownloadDeclinedError().(err error) bool {
152 if e, ok := err.(interface {
153 DownloadDeclinedError() bool
154 }); ok {
155 return e.DownloadDeclinedError()
156 }
157 if parent := parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err); parent != nil {
158 return IsDownloadDeclinedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsDownloadDeclinedError().(parent)
159 }
160 return false
161 }
162
163 // IsUnprocessableEntityError indicates that the upload operation failed because of
164 // an HTTP 422 response code.
165 func IsUnprocessableEntityErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsUnprocessableEntityError().(err error) bool {
166 if e, ok := err.(interface {
167 UnprocessableEntityError() bool
168 }); ok {
169 return e.UnprocessableEntityError()
170 }
171 if parent := parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err); parent != nil {
172 return IsUnprocessableEntityErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsUnprocessableEntityError().(parent)
173 }
174 return false
175 }
176
177 // IsRetriableError indicates the low level transfer had an error but the
178 // caller may retry the operation.
179 func IsRetriableErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsRetriableError().(err error) bool {
180 if e, ok := err.(interface {
181 RetriableError() bool
182 }); ok {
183 return e.RetriableError()
184 }
185 if cause, ok := Causescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/Cause().(err).(*urlscip-go gomod github.com/golang/go/src go1.25.0 `net/url`/.Errorscip-go gomod github.com/golang/go/src go1.25.0 `net/url`/Error#); ok {
186 return cause.Temporaryscip-go gomod github.com/golang/go/src go1.25.0 `net/url`/Error#Temporary().() || cause.Timeoutscip-go gomod github.com/golang/go/src go1.25.0 `net/url`/Error#Timeout().()
187 }
188 if parent := parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err); parent != nil {
189 return IsRetriableErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsRetriableError().(parent)
190 }
191 return false
192 }
193
194 func IsRetriableLaterErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsRetriableLaterError().(err error) (timescip-go gomod github.com/golang/go/src go1.25.0 time/.Timescip-go gomod github.com/golang/go/src go1.25.0 time/Time#, bool) {
195 if e, ok := err.(interface {
196 RetriableLaterError() (timescip-go gomod github.com/golang/go/src go1.25.0 time/.Timescip-go gomod github.com/golang/go/src go1.25.0 time/Time#, bool)
197 }); ok {
198 return e.RetriableLaterError()
199 }
200 if parent := parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err); parent != nil {
201 return IsRetriableLaterErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/IsRetriableLaterError().(parent)
202 }
203 return timescip-go gomod github.com/golang/go/src go1.25.0 time/.Timescip-go gomod github.com/golang/go/src go1.25.0 time/Time#{}, false
204 }
205
206 type errorWithCausescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/errorWithCause# interface {
207 Causescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/errorWithCause#Cause.() error
208 error
209 fmtscip-go gomod github.com/golang/go/src go1.25.0 fmt/.Formatterscip-go gomod github.com/golang/go/src go1.25.0 fmt/Formatter#
210 }
211
212 // wrappedError is the base error wrapper. It provides a Message string, a
213 // stack, and a context map around a regular Go error.
214 type wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError# struct {
215 errorWithCausescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#errorWithCause.
216 contextscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#context. map[string]interface{}
217 }
218
219 // newWrappedError creates a wrappedError.
220 func newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err error, message string) *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError# {
221 if err == nil {
222 err = errorsscip-go gomod github.com/pkg/errors v0.9.1 `github.com/pkg/errors`/.Newscip-go gomod github.com/pkg/errors v0.9.1 `github.com/pkg/errors`/New().(trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/.Trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/Tr..Getscip-go gomod github.com/leonelquinteros/gotext v1.7.2 `github.com/leonelquinteros/gotext`/Locale#Get().("Error"))
223 }
224
225 var errWithCause errorWithCausescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/errorWithCause#
226
227 if len(message) > 0 {
228 errWithCause = errorsscip-go gomod github.com/pkg/errors v0.9.1 `github.com/pkg/errors`/.Wrapscip-go gomod github.com/pkg/errors v0.9.1 `github.com/pkg/errors`/Wrap().(err, message).(errorWithCausescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/errorWithCause#)
229 } else if ewc, ok := err.(errorWithCausescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/errorWithCause#); ok {
230 errWithCause = ewc
231 } else {
232 errWithCause = errorsscip-go gomod github.com/pkg/errors v0.9.1 `github.com/pkg/errors`/.Wrapscip-go gomod github.com/pkg/errors v0.9.1 `github.com/pkg/errors`/Wrap().(err, "LFS").(errorWithCausescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/errorWithCause#)
233 }
234
235 return &wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#{
236 contextscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#context.: make(map[string]interface{}),
237 errorWithCausescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#errorWithCause.: errWithCause,
238 }
239 }
240
241 // Set sets the value for the key in the context.
242 func (e wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#) Setscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#Set().(key string, val interface{}) {
243 e.contextscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#context.[key] = val
244 }
245
246 // Get gets the value for a key in the context.
247 func (e wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#) Getscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#Get().(key string) interface{} {
248 return e.contextscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#context.[key]
249 }
250
251 // Del removes a key from the context.
252 func (e wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#) Delscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#Del().(key string) {
253 delete(e.contextscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#context., key)
254 }
255
256 // Context returns the underlying context.
257 func (e wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#) Contextscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#Context().() map[string]interface{} {
258 return e.contextscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/wrappedError#context.
259 }
260
261 // Definitions for IsFatalError()
262
263 type fatalErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/fatalError# struct {
264 *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/fatalError#wrappedError.
265 }
266
267 func (e fatalErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/fatalError#) Fatalscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/fatalError#Fatal().() bool {
268 return true
269 }
270
271 func NewFatalErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewFatalError().(err error) error {
272 return fatalErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/fatalError#{newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/.Trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/Tr..Getscip-go gomod github.com/leonelquinteros/gotext v1.7.2 `github.com/leonelquinteros/gotext`/Locale#Get().("Fatal error"))}
273 }
274
275 // Definitions for IsNotImplementedError()
276
277 type notImplementedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/notImplementedError# struct {
278 *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/notImplementedError#wrappedError.
279 }
280
281 func (e notImplementedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/notImplementedError#) NotImplementedscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/notImplementedError#NotImplemented().() bool {
282 return true
283 }
284
285 func NewNotImplementedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewNotImplementedError().(err error) error {
286 return notImplementedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/notImplementedError#{newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/.Trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/Tr..Getscip-go gomod github.com/leonelquinteros/gotext v1.7.2 `github.com/leonelquinteros/gotext`/Locale#Get().("Not implemented"))}
287 }
288
289 // Definitions for IsAuthError()
290
291 type authErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/authError# struct {
292 *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/authError#wrappedError.
293 }
294
295 func (e authErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/authError#) AuthErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/authError#AuthError().() bool {
296 return true
297 }
298
299 func NewAuthErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewAuthError().(err error) error {
300 return authErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/authError#{newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/.Trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/Tr..Getscip-go gomod github.com/leonelquinteros/gotext v1.7.2 `github.com/leonelquinteros/gotext`/Locale#Get().("Authentication required"))}
301 }
302
303 // Definitions for IsSmudgeError()
304
305 type smudgeErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/smudgeError# struct {
306 *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/smudgeError#wrappedError.
307 }
308
309 func (e smudgeErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/smudgeError#) SmudgeErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/smudgeError#SmudgeError().() bool {
310 return true
311 }
312
313 func NewSmudgeErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewSmudgeError().(err error, oid, filename string) error {
314 e := smudgeErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/smudgeError#{newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/.Trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/Tr..Getscip-go gomod github.com/leonelquinteros/gotext v1.7.2 `github.com/leonelquinteros/gotext`/Locale#Get().("Smudge error"))}
315 SetContextscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/SetContext().(e, "OID", oid)
316 SetContextscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/SetContext().(e, "FileName", filename)
317 return e
318 }
319
320 // Definitions for IsCleanPointerError()
321
322 type cleanPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/cleanPointerError# struct {
323 *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/cleanPointerError#wrappedError.
324 }
325
326 func (e cleanPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/cleanPointerError#) CleanPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/cleanPointerError#CleanPointerError().() bool {
327 return true
328 }
329
330 func NewCleanPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewCleanPointerError().(pointer interface{}, bytes []byte) error {
331 err := Newscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/New().(trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/.Trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/Tr..Getscip-go gomod github.com/leonelquinteros/gotext v1.7.2 `github.com/leonelquinteros/gotext`/Locale#Get().("pointer error"))
332 e := cleanPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/cleanPointerError#{newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, "clean")}
333 SetContextscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/SetContext().(e, "pointer", pointer)
334 SetContextscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/SetContext().(e, "bytes", bytes)
335 return e
336 }
337
338 // Definitions for IsNotAPointerError()
339
340 type notAPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/notAPointerError# struct {
341 *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/notAPointerError#wrappedError.
342 }
343
344 func (e notAPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/notAPointerError#) NotAPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/notAPointerError#NotAPointerError().() bool {
345 return true
346 }
347
348 func NewNotAPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewNotAPointerError().(err error) error {
349 return notAPointerErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/notAPointerError#{newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/.Trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/Tr..Getscip-go gomod github.com/leonelquinteros/gotext v1.7.2 `github.com/leonelquinteros/gotext`/Locale#Get().("Pointer file error"))}
350 }
351
352 // Definitions for IsPointerScanError()
353
354 type PointerScanErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/PointerScanError# struct {
355 treeishOidscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/PointerScanError#treeishOid. string
356 pathscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/PointerScanError#path. string
357 *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/PointerScanError#wrappedError.
358 }
359
360 func (e PointerScanErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/PointerScanError#) PointerScanErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/PointerScanError#PointerScanError().() bool {
361 return true
362 }
363
364 func (e PointerScanErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/PointerScanError#) OIDscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/PointerScanError#OID().() string {
365 return e.treeishOidscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/PointerScanError#treeishOid.
366 }
367
368 func (e PointerScanErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/PointerScanError#) Pathscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/PointerScanError#Path().() string {
369 return e.pathscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/PointerScanError#path.
370 }
371
372 func NewPointerScanErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewPointerScanError().(err error, treeishOid, path string) error {
373 return PointerScanErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/PointerScanError#{treeishOid, path, newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/.Trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/Tr..Getscip-go gomod github.com/leonelquinteros/gotext v1.7.2 `github.com/leonelquinteros/gotext`/Locale#Get().("Pointer error"))}
374 }
375
376 type badPointerKeyErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/badPointerKeyError# struct {
377 Expectedscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/badPointerKeyError#Expected. string
378 Actualscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/badPointerKeyError#Actual. string
379
380 *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/badPointerKeyError#wrappedError.
381 }
382
383 func (e badPointerKeyErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/badPointerKeyError#) BadPointerKeyErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/badPointerKeyError#BadPointerKeyError().() bool {
384 return true
385 }
386
387 func NewBadPointerKeyErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewBadPointerKeyError().(expected, actual string) error {
388 err := Newscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/New().(trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/.Trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/Tr..Getscip-go gomod github.com/leonelquinteros/gotext v1.7.2 `github.com/leonelquinteros/gotext`/Locale#Get().("Expected key %s, got %s", expected, actual))
389 return badPointerKeyErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/badPointerKeyError#{expected, actual, newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/.Trscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/tr`/Tr..Getscip-go gomod github.com/leonelquinteros/gotext v1.7.2 `github.com/leonelquinteros/gotext`/Locale#Get().("pointer parsing"))}
390 }
391
392 // Definitions for IsDownloadDeclinedError()
393
394 type downloadDeclinedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/downloadDeclinedError# struct {
395 *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/downloadDeclinedError#wrappedError.
396 }
397
398 func (e downloadDeclinedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/downloadDeclinedError#) DownloadDeclinedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/downloadDeclinedError#DownloadDeclinedError().() bool {
399 return true
400 }
401
402 func NewDownloadDeclinedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewDownloadDeclinedError().(err error, msg string) error {
403 return downloadDeclinedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/downloadDeclinedError#{newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, msg)}
404 }
405
406 // Definitions for IsRetriableLaterError()
407
408 type retriableLaterErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableLaterError# struct {
409 *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableLaterError#wrappedError.
410 timeAvailablescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableLaterError#timeAvailable. timescip-go gomod github.com/golang/go/src go1.25.0 time/.Timescip-go gomod github.com/golang/go/src go1.25.0 time/Time#
411 }
412
413 func NewRetriableLaterErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewRetriableLaterError().(err error, header string) error {
414 if header == "" {
415 return nil
416 }
417
418 secs, parseErr := strconvscip-go gomod github.com/golang/go/src go1.25.0 strconv/.Atoiscip-go gomod github.com/golang/go/src go1.25.0 strconv/Atoi().(header)
419 if parseErr == nil {
420 return retriableLaterErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableLaterError#{
421 wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableLaterError#wrappedError.: newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, ""),
422 timeAvailablescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableLaterError#timeAvailable.: timescip-go gomod github.com/golang/go/src go1.25.0 time/.Nowscip-go gomod github.com/golang/go/src go1.25.0 time/Now().().Addscip-go gomod github.com/golang/go/src go1.25.0 time/Time#Add().(timescip-go gomod github.com/golang/go/src go1.25.0 time/.Durationscip-go gomod github.com/golang/go/src go1.25.0 time/Duration#(secs) * timescip-go gomod github.com/golang/go/src go1.25.0 time/.Secondscip-go gomod github.com/golang/go/src go1.25.0 time/Second.),
423 }
424 }
425
426 parseTime, parseErr := timescip-go gomod github.com/golang/go/src go1.25.0 time/.Parsescip-go gomod github.com/golang/go/src go1.25.0 time/Parse().(timescip-go gomod github.com/golang/go/src go1.25.0 time/.RFC1123scip-go gomod github.com/golang/go/src go1.25.0 time/RFC1123., header)
427 if parseErr == nil {
428 return retriableLaterErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableLaterError#{
429 wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableLaterError#wrappedError.: newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, ""),
430 timeAvailablescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableLaterError#timeAvailable.: parseTime,
431 }
432 }
433
434 // We could not return a successful error from the Retry-After header.
435 return nil
436 }
437
438 func (e retriableLaterErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableLaterError#) RetriableLaterErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableLaterError#RetriableLaterError().() (timescip-go gomod github.com/golang/go/src go1.25.0 time/.Timescip-go gomod github.com/golang/go/src go1.25.0 time/Time#, bool) {
439 return e.timeAvailablescip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableLaterError#timeAvailable., true
440 }
441
442 // Definitions for IsUnprocessableEntityError()
443
444 type unprocessableEntityErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/unprocessableEntityError# struct {
445 *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/unprocessableEntityError#wrappedError.
446 }
447
448 func (e unprocessableEntityErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/unprocessableEntityError#) UnprocessableEntityErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/unprocessableEntityError#UnprocessableEntityError().() bool {
449 return true
450 }
451
452 func NewUnprocessableEntityErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewUnprocessableEntityError().(err error) error {
453 return unprocessableEntityErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/unprocessableEntityError#{newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, "")}
454 }
455
456 // Definitions for IsRetriableError()
457
458 type retriableErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableError# struct {
459 *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableError#wrappedError.
460 }
461
462 func (e retriableErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableError#) RetriableErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableError#RetriableError().() bool {
463 return true
464 }
465
466 func NewRetriableErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewRetriableError().(err error) error {
467 return retriableErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/retriableError#{newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, "")}
468 }
469
470 // Definitions for IsProtocolError()
471
472 type protocolErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/protocolError# struct {
473 *wrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/protocolError#wrappedError.
474 }
475
476 func (e protocolErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/protocolError#) ProtocolErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/protocolError#ProtocolError().() bool {
477 return true
478 }
479
480 func NewProtocolErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/NewProtocolError().(message string, err error) error {
481 return protocolErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/protocolError#{newWrappedErrorscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/newWrappedError().(err, message)}
482 }
483
484 func parentOfscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/parentOf().(err error) error {
485 type causer interface {
486 Cause() error
487 }
488
489 if c, ok := err.(causer); ok {
490 if innerC, innerOk := c.Cause().(causer); innerOk {
491 return innerC.Cause()
492 }
493 }
494
495 return nil
496 }
497
498 func ExitStatusscip-go gomod github.com/git-lfs/git-lfs/v3 . `github.com/git-lfs/git-lfs/v3/errors`/ExitStatus().(err error) int {
499 var eerr *execscip-go gomod github.com/golang/go/src go1.25.0 `os/exec`/.ExitErrorscip-go gomod github.com/golang/go/src go1.25.0 `os/exec`/ExitError#
500 if goerrorsscip-go gomod github.com/golang/go/src go1.25.0 errors/.Asscip-go gomod github.com/golang/go/src go1.25.0 errors/As().(err, &eerr) {
501 ws, ok := eerr.ProcessStatescip-go gomod github.com/golang/go/src go1.25.0 `os/exec`/ExitError#ProcessState..Sysscip-go gomod github.com/golang/go/src go1.25.0 os/ProcessState#Sys().().(syscallscip-go gomod github.com/golang/go/src go1.25.0 syscall/.WaitStatusscip-go gomod github.com/golang/go/src go1.25.0 syscall/WaitStatus#)
502 if ok {
503 return ws.ExitStatusscip-go gomod github.com/golang/go/src go1.25.0 syscall/WaitStatus#ExitStatus().()
504 }
505 }
506 return -1
507 }