1 | /**
|
2 | * Note that instances of this class do NOT pass `instanceof JsonFileError`.
|
3 | */
|
4 | export default class JsonFileError extends Error {
|
5 | cause: Error | undefined;
|
6 | code: string | undefined;
|
7 | fileName: string | undefined;
|
8 | isJsonFileError: true;
|
9 | constructor(message: string, cause?: Error, code?: string, fileName?: string);
|
10 | }
|
11 | export declare class EmptyJsonFileError extends JsonFileError {
|
12 | constructor(fileName?: string);
|
13 | }
|