MCPcopy
hub / github.com/vuejs/core / createDOMCompilerError

Function createDOMCompilerError

packages/compiler-dom/src/errors.ts:12–21  ·  view source on GitHub ↗
(
  code: DOMErrorCodes,
  loc?: SourceLocation,
)

Source from the content-addressed store, hash-verified

10}
11
12export function createDOMCompilerError(
13 code: DOMErrorCodes,
14 loc?: SourceLocation,
15) {
16 return createCompilerError(
17 code,
18 loc,
19 __DEV__ || !__BROWSER__ ? DOMErrorMessages : undefined,
20 ) as DOMCompilerError
21}
22
23export enum DOMErrorCodes {
24 X_V_HTML_NO_EXPRESSION = 54 /* ErrorCodes.__EXTEND_POINT__ */,

Callers 10

checkDuplicatedValueFunction · 0.90
ssrTransformModelFunction · 0.90
ssrTransformShowFunction · 0.90
transformVTextFunction · 0.90
transformShowFunction · 0.90
transformTransitionFunction · 0.90
ignoreSideEffectTagsFunction · 0.90
transformModelFunction · 0.90
checkDuplicatedValueFunction · 0.90
transformVHtmlFunction · 0.90

Calls 1

createCompilerErrorFunction · 0.90

Tested by

no test coverage detected