ParseError is the error type returned by Kong.Parse(). It contains the parse Context that triggered the error.
| 4 | // |
| 5 | // It contains the parse Context that triggered the error. |
| 6 | type ParseError struct { |
| 7 | error |
| 8 | Context *Context |
| 9 | exitCode int |
| 10 | } |
| 11 | |
| 12 | // Unwrap returns the original cause of the error. |
| 13 | func (p *ParseError) Unwrap() error { return p.error } |
nothing calls this directly
no outgoing calls
no test coverage detected