MCPcopy Index your code
hub / github.com/reactjs/react-docgen / constructor

Method constructor

packages/react-docgen/src/error.ts:16–20  ·  view source on GitHub ↗
(code: ERROR_CODES)

Source from the content-addressed store, hash-verified

14export class ReactDocgenError extends Error {
15 code: string | undefined;
16 constructor(code: ERROR_CODES) {
17 super(messages.get(code));
18
19 this.code = code;
20 }
21}

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected