()
| 1279 | var _ error = (*exitError)(nil) |
| 1280 | |
| 1281 | func (e *exitError) Error() string { |
| 1282 | if e.err != nil { |
| 1283 | return fmt.Sprintf("exit code %d: %v", e.code, e.err) |
| 1284 | } |
| 1285 | return fmt.Sprintf("exit code %d", e.code) |
| 1286 | } |
| 1287 | |
| 1288 | func (e *exitError) Unwrap() error { |
| 1289 | return e.err |
no outgoing calls