You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
444 B
14 lines
444 B
/**
|
|
* Note that instances of this class do NOT pass `instanceof JsonFileError`.
|
|
*/
|
|
export default class JsonFileError extends Error {
|
|
cause: Error | undefined;
|
|
code: string | undefined;
|
|
fileName: string | undefined;
|
|
isJsonFileError: true;
|
|
constructor(message: string, cause?: Error, code?: string, fileName?: string);
|
|
}
|
|
export declare class EmptyJsonFileError extends JsonFileError {
|
|
constructor(fileName?: string);
|
|
}
|