UNPKG

287 BTypeScriptView Raw
1export declare enum ERROR_CODES {
2 MISSING_DEFINITION = "ERR_REACTDOCGEN_MISSING_DEFINITION",
3 MULTIPLE_DEFINITIONS = "ERR_REACTDOCGEN_MULTIPLE_DEFINITIONS"
4}
5export declare class ReactDocgenError extends Error {
6 code: string | undefined;
7 constructor(code: ERROR_CODES);
8}