UNPKG

@aws-amplify/core

Version:

Core category of aws-amplify

15 lines (14 loc) • 581 B
import { AmplifyError } from './AmplifyError'; /** * @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. */ export declare class AmplifyServerContextError extends AmplifyError { constructor({ message, recoverySuggestion, underlyingError, }: { message: string; recoverySuggestion?: string; underlyingError?: Error; }); }