MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / error

Function error

packages/core/css/lib/parse/index.ts:61–74  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

59 var errorsList = [];
60
61 function error(msg) {
62 var err: any = new Error(options.source + ':' + lineno + ':' + column + ': ' + msg);
63 err.reason = msg;
64 err.filename = options.source;
65 err.line = lineno;
66 err.column = column;
67 err.source = css;
68
69 if (options.silent) {
70 errorsList.push(err);
71 } else {
72 throw err;
73 }
74 }
75
76 /**
77 * Parse stylesheet.

Callers 11

commentFunction · 0.70
declarationFunction · 0.70
declarationsFunction · 0.70
atkeyframesFunction · 0.70
atsupportsFunction · 0.70
athostFunction · 0.70
atmediaFunction · 0.70
atpageFunction · 0.70
atdocumentFunction · 0.70
atfontfaceFunction · 0.70
ruleFunction · 0.70

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected