UNPKG

@aws-amplify/core

Version:

Core category of aws-amplify

24 lines (21 loc) • 834 B
import { AmplifyError } from './AmplifyError.mjs'; // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 /** * @deprecated The legacy server-context machinery has been removed in favor of * the singleton-free {@link AmplifyContext} model. This error type is retained * only for backwards compatibility of existing `catch`/re-export paths and will * be removed in a future major version. */ class AmplifyServerContextError extends AmplifyError { constructor({ message, recoverySuggestion, underlyingError, }) { super({ name: 'AmplifyServerContextError', message, recoverySuggestion, underlyingError, }); } } export { AmplifyServerContextError }; //# sourceMappingURL=AmplifyServerContextError.mjs.map