Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
40
export
default InvalidDocError;
Callers
nothing calls this directly
Calls
1
getDocErrorMessage
Function · 0.85
Tested by
no test coverage detected