@aws-amplify/core
Version:
Core category of aws-amplify
1 lines • 810 B
Source Map (JSON)
{"version":3,"file":"PlatformNotSupportedError.mjs","sources":["../../../src/errors/PlatformNotSupportedError.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { AmplifyErrorCode } from '../types';\nimport { AmplifyError } from './AmplifyError';\nexport class PlatformNotSupportedError extends AmplifyError {\n constructor() {\n super({\n name: AmplifyErrorCode.PlatformNotSupported,\n message: 'Function not supported on current platform',\n });\n }\n}\n"],"names":[],"mappings":";;;AAAA;AACA;AAGO,MAAM,yBAAyB,SAAS,YAAY,CAAC;AAC5D,IAAI,WAAW,GAAG;AAClB,QAAQ,KAAK,CAAC;AACd,YAAY,IAAI,EAAE,gBAAgB,CAAC,oBAAoB;AACvD,YAAY,OAAO,EAAE,4CAA4C;AACjE,SAAS,CAAC,CAAC;AACX,KAAK;AACL;;;;"}