MCPcopy
hub / github.com/Exrick/xpay / generateError

Function generateError

xpay-code/src/main/resources/static/swagger/swagger-ui.js:11229–11233  ·  view source on GitHub ↗
(state, message)

Source from the content-addressed store, hash-verified

11227
11228
11229function 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
11235function throwError(state, message) {
11236 throw generateError(state, message);

Callers 2

throwErrorFunction · 0.85
throwWarningFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected