@aws-amplify/core
Version:
Core category of aws-amplify
1 lines • 926 B
Source Map (JSON)
{"version":3,"file":"errorHelpers.mjs","sources":["../../../src/I18n/errorHelpers.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { createAssertionFunction } from '../errors';\nexport var I18nErrorCode;\n(function (I18nErrorCode) {\n I18nErrorCode[\"NotConfigured\"] = \"NotConfigured\";\n})(I18nErrorCode || (I18nErrorCode = {}));\nconst i18nErrorMap = {\n [I18nErrorCode.NotConfigured]: {\n message: 'i18n is not configured.',\n },\n};\nexport const assert = createAssertionFunction(i18nErrorMap);\n"],"names":[],"mappings":";;;;AAAA;AACA;AAEU,IAAC;AACX,CAAC,UAAU,aAAa,EAAE;AAC1B,IAAI,aAAa,CAAC,eAAe,CAAC,GAAG,eAAe;AACpD,CAAC,EAAE,aAAa,KAAK,aAAa,GAAG,EAAE,CAAC,CAAC;AACzC,MAAM,YAAY,GAAG;AACrB,IAAI,CAAC,aAAa,CAAC,aAAa,GAAG;AACnC,QAAQ,OAAO,EAAE,yBAAyB;AAC1C,KAAK;AACL,CAAC;AACW,MAAC,MAAM,GAAG,uBAAuB,CAAC,YAAY;;;;"}