1 line
915 B
Plaintext
1 line
915 B
Plaintext
|
{"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"}
|