MCPcopy
hub / github.com/IvanMathy/Boop / generateError

Function generateError

Boop/Boop/scripts/lib/js-yaml.js:1167–1171  ·  view source on GitHub ↗
(state, message)

Source from the content-addressed store, hash-verified

1165
1166
1167function 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
1173function throwError(state, message) {
1174 throw generateError(state, message);

Callers 2

throwErrorFunction · 0.85
throwWarningFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected