GT2/Ejectable/node_modules/@expo/json-file/build/JsonFileError.d.ts

14 lines
444 B
TypeScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
/**
* 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);
}