{"_id":"transient-error","_rev":"1-36938b586c7b6f4ca58524c45de83a87","name":"transient-error","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"transient-error","version":"1.0.0","description":"Mark an error as transient, meaning you can retry","license":"MIT","author":{"name":"Vincent Weevers"},"scripts":{"test":"standard && node test"},"dependencies":{},"devDependencies":{"standard":"^14.3.3","tape":"^4.13.2"},"keywords":["error","retry","temporary","transient"],"engines":{"node":">=6"},"repository":{"type":"git","url":"git+https://github.com/vweevers/transient-error.git"},"bugs":{"url":"https://github.com/vweevers/transient-error/issues"},"homepage":"https://github.com/vweevers/transient-error","gitHead":"934621ba2be082636a7b0ea2e03743cf9f87d784","_id":"transient-error@1.0.0","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"vweevers","email":"dev@vincentweevers.nl"}],"dist":{"integrity":"sha512-pHi+O9OajOp96ldjeZ0i45n/d4QqV8ef8VCrpx5+RL5VO7Xdt2oQj//zcOhuGw5tiPYe73I4d28wV+yCqhSWxA==","shasum":"9822b38ccdd75a2b8527a865534fe9ba5f0b6ab6","tarball":"https://registry.npmjs.org/transient-error/-/transient-error-1.0.0.tgz","fileCount":4,"unpackedSize":2841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefd4SCRA9TVsSAnZWagAAiicP/20slgd2uueJzxp4lohI\nhLCkXBEuwVThnyqIub6YIs0Y9BEHfDouLorGecLDUy3B9fhDPTOPs1JpNIvA\nu3OVizJxJVCx5RB8Xl26Nf0w0T7P6Oalwj0YB2ajAJ0zDF5kDj8Gy8zh0Yws\nxxUqOblRilm9nZOjmFx+f4UnU+PcBXnA8DdDr9vgeGXNq0iG2/rM+Wq3cXwn\n8Q/k4ZeVZWfyZfcI2OzDRuVutsCnG0SgrjoMrwep407qGkSms14Pk/TTpmP0\nF5TOzfxgQk49ggM5+8Y2GmcZU53F50wUjBreWH1j6xogUd6YlfDuNzXaE12Q\nACv6NYNegfliP1gO2DYHa4PJBMRbyKcGMphTF4jPRX+Ktt6dMxWkGztXiCp+\n5x7+kfCNQFbA39M9puGXbJ/OXXqOTQd/YmvVDwe0dGpBO+QRhpOT8AI5Zu6y\n+iNi/RLEv0ctZphbgwE3TI4ec5A1KJVHnTTi7tsyJXx2jOSfc30PIb9wij9o\nMSXzTO6byK4pc0WW0d538MX2APTeZwpy1svhdVJ+NXJqtdLY3BUPZXAgwjgp\nWsAvesxIUel5Qf82QTN9baRzdcaUC0wbSJmm9MS3gS7h/mcUPs72QZRIoUDw\n2jdp2MVbFpxsHtK1aTxtSS8okTLdh24KffH+iJUIGx3PBzFiN+xgrKbFkDvI\nddIP\r\n=LCqw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYhQvyUHxanDITOY2SHHtPnnKko4ynPI+su/xKSVq6uQIhAL2HfF9Zk4DHFQScVhpbdH0RCzcaCyM7m90AxNUfAfkT"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/transient-error_1.0.0_1585307153631_0.038119832105230955"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-27T11:05:53.631Z","1.0.0":"2020-03-27T11:05:53.741Z","modified":"2022-05-22T04:03:11.099Z"},"maintainers":[{"name":"vweevers","email":"dev@vincentweevers.nl"}],"description":"Mark an error as transient, meaning you can retry","homepage":"https://github.com/vweevers/transient-error","keywords":["error","retry","temporary","transient"],"repository":{"type":"git","url":"git+https://github.com/vweevers/transient-error.git"},"author":{"name":"Vincent Weevers"},"bugs":{"url":"https://github.com/vweevers/transient-error/issues"},"license":"MIT","readme":"# transient-error\n\n> **Mark an error as transient, meaning you can retry.**\n\n[![npm status](http://img.shields.io/npm/v/transient-error.svg)](https://www.npmjs.org/package/transient-error)\n[![node](https://img.shields.io/node/v/transient-error.svg)](https://www.npmjs.org/package/transient-error)\n[![Travis build status](https://img.shields.io/travis/vweevers/transient-error.svg?label=travis)](http://travis-ci.org/vweevers/transient-error)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Usage\n\n```js\nconst transient = require('transient-error')\nconst err = transient(new Error('Could not connect'))\n```\n\nA consumer can then do:\n\n```js\nif (err.transient) {\n  // Retry\n}\n```\n\nBecomes useful when multiple modules use this, as a simple contract.\n\n## Install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install transient-error\n```\n\n## License\n\n[MIT](LICENSE.md) © 2020-present Vincent Weevers\n","readmeFilename":"README.md"}