1 | import { ConfigErrorCode } from './Config.types';
|
2 | /**
|
3 | * Based on `JsonFileError` from `@expo/json-file`
|
4 | */
|
5 | export declare class ConfigError extends Error {
|
6 | code: ConfigErrorCode;
|
7 | cause?: Error | undefined;
|
8 | constructor(message: string, code: ConfigErrorCode, cause?: Error | undefined);
|
9 | }
|
10 | export declare function errorFromJSON({ name, ...json }: any): Error;
|
11 | export declare function errorToJSON(error: any): any;
|