GT2/Ejectable/node_modules/@expo/config/build/Errors.js.map

1 line
915 B
Plaintext
Raw Normal View History

2021-08-16 00:14:59 +00:00
{"version":3,"sources":["../src/Errors.ts"],"names":["ConfigError","Error","constructor","message","code","cause","name"],"mappings":";;;;;;;;;AAEA;AACA;AACA;AACO,MAAMA,WAAN,SAA0BC,KAA1B,CAAgC;AAIrCC,EAAAA,WAAW,CAACC,OAAD,EAAyBC,IAAzB,EAAuDC,KAAvD,EAAsE;AAC/E,UAAMA,KAAK,GAAI,GAAEF,OAAQ,eAAcE,KAAK,CAACC,IAAK,KAAID,KAAK,CAACF,OAAQ,EAAzD,GAA6DA,OAAxE;AAD+E,SAA7CC,IAA6C,GAA7CA,IAA6C;AAAA,SAAfC,KAAe,GAAfA,KAAe;;AAAA,kCAHjE,aAGiE;;AAAA,2CAFxD,IAEwD;AAEhF;;AANoC","sourcesContent":["import { ConfigErrorCode } from './Config.types';\n\n/**\n * Based on `JsonFileError` from `@expo/json-file`\n */\nexport class ConfigError extends Error {\n readonly name = 'ConfigError';\n readonly isConfigError = true;\n\n constructor(message: string, public code: ConfigErrorCode, public cause?: Error) {\n super(cause ? `${message}\\n└─ Cause: ${cause.name}: ${cause.message}` : message);\n }\n}\n"],"file":"Errors.js"}