UNPKG

@aws-amplify/core

Version:
1 lines 947 B
{"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,cAAc;AACzB,CAAC,UAAU,aAAa,EAAE;AAC1B,IAAI,aAAa,CAAC,eAAe,CAAC,GAAG,eAAe,CAAC;AACrD,CAAC,EAAE,aAAa,KAAK,aAAa,GAAG,EAAE,CAAC,CAAC,CAAC;AAC1C,MAAM,YAAY,GAAG;AACrB,IAAI,CAAC,aAAa,CAAC,aAAa,GAAG;AACnC,QAAQ,OAAO,EAAE,yBAAyB;AAC1C,KAAK;AACL,CAAC,CAAC;AACU,MAAC,MAAM,GAAG,uBAAuB,CAAC,YAAY;;;;"}