MCPcopy Index your code
hub / github.com/prettier/prettier / constructor

Method constructor

src/document/utilities/invalid-doc-error.js:34–37  ·  view source on GitHub ↗
(doc)

Source from the content-addressed store, hash-verified

32 name = "InvalidDocError";
33
34 constructor(doc) {
35 super(getDocErrorMessage(doc));
36 this.doc = doc;
37 }
38}
39
40export default InvalidDocError;

Callers

nothing calls this directly

Calls 1

getDocErrorMessageFunction · 0.85

Tested by

no test coverage detected