ExitCode returns the status that Kong should exit with if it fails with a ParseError.
()
| 14 | |
| 15 | // ExitCode returns the status that Kong should exit with if it fails with a ParseError. |
| 16 | func (p *ParseError) ExitCode() int { |
| 17 | if p.exitCode == 0 { |
| 18 | return exitNotOk |
| 19 | } |
| 20 | return p.exitCode |
| 21 | } |
nothing calls this directly
no outgoing calls
no test coverage detected