{"name":"@pnpm/error","version":"6.0.3","keywords":["pnpm10","pnpm","error"],"license":"MIT","_id":"@pnpm/error@6.0.3","homepage":"https://github.com/pnpm/pnpm/blob/main/packages/error#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"318282ce77d097864370bca6f9b987dff5a5fb84","tarball":"http://registry-npm.ywwl.com/@pnpm/error/download/@pnpm/error-6.0.3.tgz","fileCount":6,"integrity":"sha512-OIYhG7HQh4zUFh2s8/6bp7glVRjNxms7bpzXVOLV7pyRa+rSYFmqJ8zDsBC64k58nuaxS85Ip+SCDjFxsFGeOg==","signatures":[{"sig":"MEUCID2n2RlS626kk+u00L4mYLyn1eUcKHGyZ6ItC3ojYi4TAiEArpJULv1Kcetl9rND7KptARXWolgkkBF+GvzfFBMhszM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7873,"size":3427,"noattachment":false,"key":"/@pnpm/error/-/@pnpm/error-6.0.3.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","_from":"file:pnpm-error-6.0.3.tgz","types":"lib/index.d.ts","engines":{"node":">=18.12"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","test":"pnpm run compile && pnpm run _test","_test":"jest","compile":"tsc --build && pnpm run lint --fix"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"_resolved":"/tmp/8ec4d544ee1572e1ec43dafd02a2124a/pnpm-error-6.0.3.tgz","_integrity":"sha512-OIYhG7HQh4zUFh2s8/6bp7glVRjNxms7bpzXVOLV7pyRa+rSYFmqJ8zDsBC64k58nuaxS85Ip+SCDjFxsFGeOg==","repository":{"url":"https://github.com/pnpm/pnpm/blob/main/packages/error","type":"git"},"_npmVersion":"10.8.2","description":"An error class for pnpm errors","directories":{},"_nodeVersion":"18.20.5","dependencies":{"@pnpm/constants":"10.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@pnpm/error":"6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/error_6.0.3_1732794620302_0.6009471164581954","host":"s3://npm-registry-packages"},"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://www.npmjs.com/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":1732794620446,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1732794620446,"dist-tags":{"dev":"0.0.0-20230605-20230605142810","latest":"1100.2.3","pnpm-temp":"1.3.0"}}