MCPcopy
hub / github.com/CodeboxIDE/codebox / error

Function error

core/cb.addons/require-tools/less/lessc.js:224–229  ·  view source on GitHub ↗
(msg, type)

Source from the content-addressed store, hash-verified

222 }
223
224 function error(msg, type) {
225 var e = new Error(msg);
226 e.index = i;
227 e.type = type || 'Syntax';
228 throw e;
229 }
230
231 // Same as $(), but don't change the state of the parser,
232 // just return the match.

Callers 4

expectFunction · 0.70
lessc.jsFile · 0.70
loadStylesFunction · 0.70
initRunningModeFunction · 0.70

Calls 2

errorHTMLFunction · 0.85
errorConsoleFunction · 0.85

Tested by

no test coverage detected