{"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;AACV,IAAI;AACJ;;;;"}