{"_id":"@lvce-editor/verror","_rev":"4104054","name":"@lvce-editor/verror","description":"Improve error messages by adding additional context to an error","dist-tags":{"latest":"1.7.0"},"maintainers":[{"name":"levivilet","email":""}],"time":{"modified":"2026-01-11T18:48:23.000Z","created":"2023-08-20T19:37:59.116Z","1.7.0":"2025-06-12T17:56:10.734Z","1.6.0":"2024-11-16T11:47:16.931Z","1.5.0":"2024-11-12T22:35:08.649Z","1.4.0":"2024-08-06T18:05:12.300Z","1.3.0":"2024-05-19T20:13:05.447Z","1.2.0":"2024-04-01T07:51:57.835Z","1.1.2":"2023-11-07T19:58:10.273Z","1.1.1":"2023-09-05T18:12:04.041Z","1.1.0":"2023-08-30T17:02:51.060Z","1.0.1":"2023-08-20T19:47:07.194Z","1.0.0":"2023-08-20T19:37:59.116Z"},"users":{},"author":{"name":"Lvce Editor"},"versions":{"1.7.0":{"name":"@lvce-editor/verror","version":"1.7.0","description":"Improve error messages by adding additional context to an error","main":"dist/index.js","type":"module","types":"dist/index.d.ts","keywords":["error"],"author":{"name":"Lvce Editor"},"license":"MIT","_id":"@lvce-editor/verror@1.7.0","gitHead":"fc09d4aa00e96cc56ab0f583e5cfa87966f26777","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"shasum":"6f6578af2e63faf6825096c25b80b0bcb99c9aa5","size":1759,"noattachment":false,"key":"/@lvce-editor/verror/-/@lvce-editor/verror-1.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@lvce-editor/verror/download/@lvce-editor/verror-1.7.0.tgz"},"_npmUser":{"name":"levivilet","email":"levivilet@pm.me"},"directories":{},"maintainers":[{"name":"levivilet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/verror_1.7.0_1749750970543_0.07264367426680707"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-12T17:56:10.734Z","publish_time":1749750970734,"_source_registry_name":"default","_cnpm_publish_time":1749750970734},"1.6.0":{"name":"@lvce-editor/verror","version":"1.6.0","description":"Improve error messages by adding additional context to an error","main":"dist/index.js","type":"module","types":"dist/index.d.ts","keywords":["error"],"author":{"name":"Lvce Editor"},"license":"MIT","_id":"@lvce-editor/verror@1.6.0","gitHead":"b8e2d7775671639bc0ad35a04ae16dbf5a3db76d","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"shasum":"3eb11604f0d3d2522ac258f912cfdae324e7db56","size":1759,"noattachment":false,"key":"/@lvce-editor/verror/-/@lvce-editor/verror-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@lvce-editor/verror/download/@lvce-editor/verror-1.6.0.tgz"},"_npmUser":{"name":"levivilet","email":"levivilet@pm.me"},"directories":{},"maintainers":[{"name":"levivilet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/verror_1.6.0_1731757636767_0.5942589066913229"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-16T11:47:16.931Z","publish_time":1731757636931,"_source_registry_name":"default","_cnpm_publish_time":1731757636931},"1.5.0":{"name":"@lvce-editor/verror","version":"1.5.0","description":"Improve error messages by adding additional context to an error","main":"dist/index.js","type":"module","types":"dist/index.d.ts","keywords":["error"],"author":{"name":"Lvce Editor"},"license":"MIT","_id":"@lvce-editor/verror@1.5.0","gitHead":"6519d537d4a4c988ea9142469bf29ceca825cd74","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"shasum":"01ac0758946ce2cec7f3849fd8948a464505c586","size":1762,"noattachment":false,"key":"/@lvce-editor/verror/-/@lvce-editor/verror-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@lvce-editor/verror/download/@lvce-editor/verror-1.5.0.tgz"},"_npmUser":{"name":"levivilet","email":"levivilet@pm.me"},"directories":{},"maintainers":[{"name":"levivilet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/verror_1.5.0_1731450908404_0.9556130493648891"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-12T22:35:08.649Z","publish_time":1731450908649,"_source_registry_name":"default","_cnpm_publish_time":1731450908649},"1.4.0":{"name":"@lvce-editor/verror","version":"1.4.0","description":"Improve error messages by adding additional context to an error","main":"dist/index.js","type":"module","types":"dist/index.d.ts","keywords":["error"],"author":{"name":"Lvce Editor"},"license":"MIT","_id":"@lvce-editor/verror@1.4.0","gitHead":"b916a981f68bbece96e6a48ac6c149fd59557b52","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"shasum":"710bb82e844e94663419675d77a02a5c9405d817","size":1766,"noattachment":false,"key":"/@lvce-editor/verror/-/@lvce-editor/verror-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@lvce-editor/verror/download/@lvce-editor/verror-1.4.0.tgz"},"_npmUser":{"name":"levivilet","email":"levivilet@pm.me"},"directories":{},"maintainers":[{"name":"levivilet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/verror_1.4.0_1722967512169_0.8166558349789861"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-06T18:05:12.300Z","publish_time":1722967512300,"_source_registry_name":"default","_cnpm_publish_time":1722967512300},"1.3.0":{"name":"@lvce-editor/verror","version":"1.3.0","description":"Improve error messages by adding additional context to an error","main":"dist/index.js","type":"module","types":"dist/index.d.ts","keywords":["error"],"author":{"name":"Lvce Editor"},"license":"MIT","_id":"@lvce-editor/verror@1.3.0","gitHead":"c058f666887575f5dc4c0693706d85af569366b4","_nodeVersion":"22.2.0","_npmVersion":"10.7.0","dist":{"shasum":"d63bccfe257f5804958228ef2351761518aec210","size":1766,"noattachment":false,"key":"/@lvce-editor/verror/-/@lvce-editor/verror-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@lvce-editor/verror/download/@lvce-editor/verror-1.3.0.tgz"},"_npmUser":{"name":"levivilet","email":"levivilet@pm.me"},"directories":{},"maintainers":[{"name":"levivilet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/verror_1.3.0_1716149585303_0.6784884226199557"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-19T20:13:05.447Z","publish_time":1716149585447,"_source_registry_name":"default","_cnpm_publish_time":1716149585447},"1.2.0":{"name":"@lvce-editor/verror","version":"1.2.0","description":"Improve error messages by adding additional context to an error","main":"dist/index.js","type":"module","types":"dist/index.d.ts","keywords":["error"],"author":{"name":"Lvce Editor"},"license":"MIT","_id":"@lvce-editor/verror@1.2.0","gitHead":"b4c790a7687997d6b79f9c50e05ed8ad62f2db68","_nodeVersion":"18.20.0","_npmVersion":"10.5.0","dist":{"shasum":"1bc703d43255eae2e06c8671629468874e4a251a","size":1766,"noattachment":false,"key":"/@lvce-editor/verror/-/@lvce-editor/verror-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@lvce-editor/verror/download/@lvce-editor/verror-1.2.0.tgz"},"_npmUser":{"name":"levivilet","email":"levivilet@pm.me"},"directories":{},"maintainers":[{"name":"levivilet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/verror_1.2.0_1711957917660_0.6721388573272689"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-01T07:51:57.835Z","publish_time":1711957917835,"_source_registry_name":"default","_cnpm_publish_time":1711957917835},"1.1.2":{"name":"@lvce-editor/verror","version":"1.1.2","description":"Improve error messages by adding additional context to an error","main":"dist/index.js","type":"module","types":"dist/index.d.ts","keywords":["error"],"author":{"name":"Lvce Editor"},"license":"MIT","_id":"@lvce-editor/verror@1.1.2","gitHead":"052dec2a93cc15531bf7dc4883fd4c149952c22f","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"shasum":"7de049c08ac6b58b2a7e5fef28e2dec4c881984c","size":1784,"noattachment":false,"key":"/@lvce-editor/verror/-/@lvce-editor/verror-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@lvce-editor/verror/download/@lvce-editor/verror-1.1.2.tgz"},"_npmUser":{"name":"levivilet","email":"levivilet@pm.me"},"directories":{},"maintainers":[{"name":"levivilet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/verror_1.1.2_1699387090137_0.05580890057025223"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T19:58:10.273Z","publish_time":1699387090273,"_source_registry_name":"default","_cnpm_publish_time":1699387090273},"1.1.1":{"name":"@lvce-editor/verror","version":"1.1.1","description":"Improve error messages by adding additional context to an error","main":"dist/index.js","type":"module","types":"dist/index.d.ts","keywords":["error"],"author":{"name":"Lvce Editor"},"license":"MIT","gitHead":"5d484d133b42125ae32d563133041c979ff1124b","_id":"@lvce-editor/verror@1.1.1","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"shasum":"57257c3c8c0208c4811bb61e8326fa31ae22bc44","size":1783,"noattachment":false,"key":"/@lvce-editor/verror/-/@lvce-editor/verror-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@lvce-editor/verror/download/@lvce-editor/verror-1.1.1.tgz"},"_npmUser":{"name":"levivilet","email":"levivilet@pm.me"},"directories":{},"maintainers":[{"name":"levivilet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/verror_1.1.1_1693937523759_0.27549576617662264"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-05T18:12:04.041Z","publish_time":1693937524041,"_source_registry_name":"default","_cnpm_publish_time":1693937524041},"1.1.0":{"name":"@lvce-editor/verror","version":"1.1.0","description":"Improve error messages by adding additional context to an error","main":"dist/index.js","type":"module","types":"dist/index.d.ts","keywords":["error"],"author":{"name":"Lvce Editor"},"license":"MIT","gitHead":"4d0f915299f9dcdfe4c6662824e2c3f3a1604203","_id":"@lvce-editor/verror@1.1.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"shasum":"79aa31b7f5474ba721577a93b99b2047358c5382","size":1792,"noattachment":false,"key":"/@lvce-editor/verror/-/@lvce-editor/verror-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@lvce-editor/verror/download/@lvce-editor/verror-1.1.0.tgz"},"_npmUser":{"name":"levivilet","email":"levivilet@pm.me"},"directories":{},"maintainers":[{"name":"levivilet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/verror_1.1.0_1693414970891_0.8586432606249952"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-30T17:02:51.060Z","publish_time":1693414971060,"_source_registry_name":"default","_cnpm_publish_time":1693414971060},"1.0.1":{"name":"@lvce-editor/verror","version":"1.0.1","description":"Improve error messages by adding additional context to an error","main":"src/index.js","type":"module","types":"src/index.d.ts","keywords":["error"],"author":{"name":"Lvce Editor"},"license":"MIT","gitHead":"dd168545ee0e63fd3189802fd9659d6bf50640e3","_id":"@lvce-editor/verror@1.0.1","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"shasum":"636170dca1ddd0cb2f1b10a7e9048e2ddd2745d1","size":2024,"noattachment":false,"key":"/@lvce-editor/verror/-/@lvce-editor/verror-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@lvce-editor/verror/download/@lvce-editor/verror-1.0.1.tgz"},"_npmUser":{"name":"levivilet","email":"levivilet@pm.me"},"directories":{},"maintainers":[{"name":"levivilet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/verror_1.0.1_1692560827024_0.0323103232516424"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-20T19:47:07.194Z","publish_time":1692560827194,"_source_registry_name":"default","_cnpm_publish_time":1692560827194},"1.0.0":{"name":"@lvce-editor/verror","version":"1.0.0","description":"Improve error messages by adding additional context to an error","main":"src/index.js","type":"module","types":"src/index.d.ts","keywords":["error"],"author":{"name":"Lvce Editor"},"license":"MIT","gitHead":"27265960e2d422d2c82ca43ecfe0a5ec6ecd0fff","_id":"@lvce-editor/verror@1.0.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"shasum":"5f25b7a45deab013ac2d589eb8dba11fb11a930a","size":2013,"noattachment":false,"key":"/@lvce-editor/verror/-/@lvce-editor/verror-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@lvce-editor/verror/download/@lvce-editor/verror-1.0.0.tgz"},"_npmUser":{"name":"levivilet","email":"levivilet@pm.me"},"directories":{},"maintainers":[{"name":"levivilet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/verror_1.0.0_1692560278937_0.8724398151244253"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-20T19:37:59.116Z","publish_time":1692560279116,"_source_registry_name":"default","_cnpm_publish_time":1692560279116}},"readme":"# VError\n\nImprove error messages by adding additional context to an error.\n\n## Install\n\n```sh\nnpm install @lvce-editor/verror\n```\n\n## Usage\n\n```js\nimport { VError } from '@lvce-editor/verror'\n\nconst otherFunction = () => {\n  throw new Error(`oops`)\n}\n\nconst doSomething = () => {\n  try {\n    const data = otherFunction()\n    return data\n  } catch (error) {\n    throw new VError(error, `failed to get data`)\n  }\n}\n```\n\n## Gitpod\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/lvce-editor/verror)\n","_attachments":{},"license":"MIT"}