(state, message)
| 11227 | |
| 11228 | |
| 11229 | function generateError(state, message) { |
| 11230 | return new YAMLException( |
| 11231 | message, |
| 11232 | new Mark(state.filename, state.input, state.position, state.line, (state.position - state.lineStart))); |
| 11233 | } |
| 11234 | |
| 11235 | function throwError(state, message) { |
| 11236 | throw generateError(state, message); |
no outgoing calls
no test coverage detected