{"_id":"@pnpm/error@1100.2.1","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"4a44391bc3a4100c8e1bdb7fd5522133673f86e9","tarball":"http://registry-npm.ywwl.com/@pnpm/error/download/@pnpm/error-1100.2.1.tgz","fileCount":6,"integrity":"sha512-JGkg/GDuygUg06dFEMXo0JoycEgXqNY1nar1nuzOHkqzoX9VpScOkPPXHb56CoyJlxGjSo0uNgzMeqD+hcCghA==","signatures":[{"sig":"MEUCIQCgPejVhGEkS4SG3l1G+pIYvO9U7ntbWbozuIvmxBL4fwIgD/0NWwYSbD4REKM3357dELcgMG0uodcsPxI35bZFIsg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCb+zxe1cG+brTpTXBor0pNUFpRrEcsOxWD2mQuqgMw1gIgMMfcBxk/e4n4GQcQNr0E5y2Kt3C1XQDXoGCIXvL6tMs="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2ferror@1100.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19166,"size":7051,"noattachment":false,"key":"/@pnpm/error/-/@pnpm/error-1100.2.1.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","name":"@pnpm/error","type":"module","types":"lib/index.d.ts","engines":{"node":">=22.13"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","license":"MIT","scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","test":"pn compile && pn .test",".test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest","compile":"tsgo --build && pn lint --fix"},"version":"1100.2.1","_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"homepage":"https://github.com/pnpm/pnpm/tree/main/pnpm11/core/error#readme","keywords":["pnpm","pnpm11","error"],"repository":{"url":"https://github.com/pnpm/pnpm/tree/main/pnpm11/core/error","type":"git"},"description":"An error class for pnpm errors","directories":{},"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"dependencies":{"@pnpm/constants":"1102.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@pnpm/error":"1100.2.1","@jest/globals":"30.4.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/error_1100.2.1_1790579680549_0.4972548873310769"},"readme":"# @pnpm/error\n\n> An error class for pnpm errors\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/@pnpm/error.svg)](https://npmx.dev/package/@pnpm/error)\n<!--/@-->\n\n## Installation\n\n```sh\npnpm add @pnpm/error\n```\n\n### Usage\n\n```ts\nimport { PnpmError } from '@pnpm/error'\n\ntry {\n    throw new PnpmError('THE_ERROR_CODE', 'The error message')\n} catch (err: any) { // eslint-disable-line\n    console.log(err.code)\n    //> ERR_PNPM_THE_ERROR_CODE\n    console.log(err.message)\n    //> The error message\n}\n```\n\n## License\n\nMIT\n","publish_time":1790579680637,"_cnpm_publish_time":1790579680637,"dist-tags":{"dev":"0.0.0-20230605-20230605142810","latest":"1100.2.3","pnpm-temp":"1.3.0"}}