@aws-amplify/core
Version:
Core category of aws-amplify
1 lines • 1.19 kB
Source Map (JSON)
{"version":3,"file":"AmplifyServerContextError.mjs","sources":["../../../src/errors/AmplifyServerContextError.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { AmplifyError } from './AmplifyError';\n/**\n * @deprecated The legacy server-context machinery has been removed in favor of\n * the singleton-free {@link AmplifyContext} model. This error type is retained\n * only for backwards compatibility of existing `catch`/re-export paths and will\n * be removed in a future major version.\n */\nexport class AmplifyServerContextError extends AmplifyError {\n constructor({ message, recoverySuggestion, underlyingError, }) {\n super({\n name: 'AmplifyServerContextError',\n message,\n recoverySuggestion,\n underlyingError,\n });\n }\n}\n"],"names":[],"mappings":";;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,yBAAyB,SAAS,YAAY,CAAC;AAC5D,IAAI,WAAW,CAAC,EAAE,OAAO,EAAE,kBAAkB,EAAE,eAAe,GAAG,EAAE;AACnE,QAAQ,KAAK,CAAC;AACd,YAAY,IAAI,EAAE,2BAA2B;AAC7C,YAAY,OAAO;AACnB,YAAY,kBAAkB;AAC9B,YAAY,eAAe;AAC3B,SAAS,CAAC;AACV,IAAI;AACJ;;;;"}