(state, message)
| 1165 | |
| 1166 | |
| 1167 | function generateError(state, message) { |
| 1168 | return new YAMLException( |
| 1169 | message, |
| 1170 | new Mark(state.filename, state.input, state.position, state.line, (state.position - state.lineStart))); |
| 1171 | } |
| 1172 | |
| 1173 | function throwError(state, message) { |
| 1174 | throw generateError(state, message); |
no outgoing calls
no test coverage detected