{"_id":"silent-error","_rev":"7-c8d92c85a9dc24b659ff873c69dc2133","name":"silent-error","description":"stackless unless otherwise requested error","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"silent-error","version":"1.0.0","description":"stackless unless otherwise requested error","main":"index.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/stefanpenner/silent-error.git"},"author":{"name":"Stefan Penner","email":"stefan.penner@gmai.com"},"license":"ISC","bugs":{"url":"https://github.com/stefanpenner/silent-error/issues"},"homepage":"https://github.com/stefanpenner/silent-error#readme","dependencies":{"debug":"^2.2.0"},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5"},"gitHead":"6f4851f77b8db9539922c19f84bb4dd91ed18d20","_id":"silent-error@1.0.0","_shasum":"65379074a3c259e2420db3fff77d3f3971561940","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.2","_npmUser":{"name":"stefanpenner","email":"stefan.penner@gmail.com"},"maintainers":[{"name":"stefanpenner","email":"stefan.penner@gmail.com"}],"dist":{"shasum":"65379074a3c259e2420db3fff77d3f3971561940","tarball":"https://registry.npmjs.org/silent-error/-/silent-error-1.0.0.tgz","integrity":"sha512-6AvkemJ2aHyB2w98oJu+A7t2/lpIOGKZIPBXnj+9zwHmNLO43XUrQ/0OmRx64IjMZByx2m9ftaIWPJ1HBZswSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjbSUzOGepMSyp2NZyoNY/v774vY9gySW6Su8TZF1gSgIhANc4O6P+49CGIN4yxPTvDhaywn1KOJvhMONL7pf1Etht"}]},"directories":{}},"1.0.1":{"name":"silent-error","version":"1.0.1","description":"stackless unless otherwise requested error","main":"index.js","scripts":{"test":"mocha test"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/stefanpenner/silent-error.git"},"author":{"name":"Stefan Penner","email":"stefan.penner@gmai.com"},"license":"ISC","bugs":{"url":"https://github.com/stefanpenner/silent-error/issues"},"homepage":"https://github.com/stefanpenner/silent-error#readme","dependencies":{"debug":"^2.2.0"},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5"},"gitHead":"8b7a43e39cbeb976cbc5d38892daa5b5db1ddf05","_id":"silent-error@1.0.1","_shasum":"71b7d503d1c6f94882b51b56be879b113cb4822c","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.2.2","_npmUser":{"name":"stefanpenner","email":"stefan.penner@gmail.com"},"dist":{"shasum":"71b7d503d1c6f94882b51b56be879b113cb4822c","tarball":"https://registry.npmjs.org/silent-error/-/silent-error-1.0.1.tgz","integrity":"sha512-OJkGDn1bakjvEJqjUA6dz05Yw6GmD3gLQnidt/ByXJ/J86RqtYRQzxVttIbkLBj8+j1cfEvjBPOXr/txW7a1IQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1j49y7HfazEKezDwIIFNPXIfbGsCiml2GDplc3OJwcAIgaqZVCV58w8mbO50BLpzPGxgu9L3WY6Xatk9VYf75XgY="}]},"maintainers":[{"name":"stefanpenner","email":"stefan.penner@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/silent-error-1.0.1.tgz_1470593427489_0.8295481328386813"},"directories":{}},"1.1.0":{"name":"silent-error","version":"1.1.0","description":"stackless unless otherwise requested error","main":"index.js","scripts":{"test":"mocha test"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/stefanpenner/silent-error.git"},"author":{"name":"Stefan Penner","email":"stefan.penner@gmai.com"},"license":"ISC","bugs":{"url":"https://github.com/stefanpenner/silent-error/issues"},"homepage":"https://github.com/stefanpenner/silent-error#readme","dependencies":{"debug":"^2.2.0"},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5"},"gitHead":"842e51d8d073845a954ece7c533d119c80fc8de3","_id":"silent-error@1.1.0","_shasum":"2209706f1c850a9f1d10d0d840918b46f26e1bc9","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"stefanpenner","email":"stefan.penner@gmail.com"},"dist":{"shasum":"2209706f1c850a9f1d10d0d840918b46f26e1bc9","tarball":"https://registry.npmjs.org/silent-error/-/silent-error-1.1.0.tgz","integrity":"sha512-3PT35gEuqZ6zhPyuVjAenFqd+k+h/VVWq77/4GqGXBKnpdXRaBXTnTIrB38jzMPfG5xSNvcDKAO18zLV+jv24A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCO00MthAaLPSDTLdTaHrZRQF0/iOIWJcEuC5X4ujxEUgIgfz5tBB0qiMa5dOhxnE0MydINOcIOm7Sw8dBY1uBWOZ4="}]},"maintainers":[{"name":"stefanpenner","email":"stefan.penner@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/silent-error-1.1.0.tgz_1493660499683_0.3109135900158435"},"directories":{}},"1.1.1":{"name":"silent-error","version":"1.1.1","description":"stackless unless otherwise requested error","main":"index.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/stefanpenner/silent-error.git"},"author":{"name":"Stefan Penner","email":"stefan.penner@gmai.com"},"license":"ISC","bugs":{"url":"https://github.com/stefanpenner/silent-error/issues"},"homepage":"https://github.com/stefanpenner/silent-error#readme","dependencies":{"debug":"^2.2.0"},"devDependencies":{"chai":"^2.3.0","mocha":"^2.2.5"},"gitHead":"fcf21cbfed16b6fdb0e31a8abcaffe6f44a7ee9c","_id":"silent-error@1.1.1","_npmVersion":"6.2.0","_nodeVersion":"10.6.0","_npmUser":{"name":"stefanpenner","email":"stefan.penner@gmail.com"},"dist":{"integrity":"sha512-n4iEKyNcg4v6/jpb3c0/iyH2G1nzUNl7Gpqtn/mHIJK9S/q/7MCfoO4rwVOoO59qPFIc0hVHvMbiOJ0NdtxKKw==","shasum":"f72af5b0d73682a2ba1778b7e32cd8aa7c2d8662","tarball":"https://registry.npmjs.org/silent-error/-/silent-error-1.1.1.tgz","fileCount":4,"unpackedSize":3381,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvZt9CRA9TVsSAnZWagAA6YIP/iTn79SQ6WBvax/8U3Xr\nbAG8sOjfMi/vgzIHvBRcdeWukyB47uu1p/cusziSwJCXGYLIw4sehXUGb52g\nk1Yd6k6GiugaNW/2L0HnL43nXzxshN4pGHsGBi2GZooYPgORvh2q1LSrGjIu\nn0ik32nzmXJ2Yz7/cb9clrs9V3H4F2TrttQSPM6kMsFE+8lk7u3J4J09bhFx\nljhCZvcDh8uBNlNvty3Ac+7YTeMLgTlW4DGu37LANPFE4uJ+ikeVRfE2KmTK\nN0HXokvMs29ScbhdmQHGzQ9nzBDtU4BBkO+R+6Nq6cp2jLW/GIllGm9kdOsG\nqb3Tf94uMsGYqeOIhee/2r/B/rdZ+S6Ho1WbkuBEXhucCozD620Ec1V9Tac8\nYB8PGBb0KZQMtDWvNmYzi88ZoD0vHJZm4PHsWldaMi9gn2GEDBsR5qIDCaP2\nAgArqxnr96PywhXIsxeX1ZwESWkYKlnHZvVrvbNDnRRhy+u9apN6mWNZZDM5\n1PKcDj9iGS9mj2xVdobX+sw36/dAYhGv7cYzr3ndHsvpF9kf3dVBxgrj/daQ\neI0BKy426dBCDE3U7PyC2aWMcmfpW4GanYNM0X4UEHEaYzv7zvhmG1Yx4n0I\n8Jqrq107WoQC2SRNCwXwgjlgSdwA61PaE41HqmMq+YU/Jo+BzfWGx6KQn+P6\n3ilh\r\n=ozhS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7LjnM/nv1nTU3+jmIKADh7DwcGKarfneDPcb7UfD2fwIhAOPH7V5fstZdVXJMy8RJ39ZwaLb+n6zEszIFEWKdZLsZ"}]},"maintainers":[{"name":"stefanpenner","email":"stefan.penner@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/silent-error_1.1.1_1539152764408_0.6796260087854338"},"_hasShrinkwrap":false}},"readme":"# silent-error [![Build Status](https://travis-ci.org/ember-cli/silent-error.svg)](https://travis-ci.org/ember-cli/silent-error)\n\nAn error subclass for humanized errors. This module allows for inter-module detection of errors which are fatal, but where a stacktrace by default provides negative value.\n\nSome use-cases:\n\n* command in your CLI tool is missing\n* plugin to your build system is given invalid user-input.\n\nObviously stack traces can still be valuable. To view the stacks, the following environment variable can be set to `true`\n\n```\nSILENT_ERROR=verbose <run program>\n```\n\n## Example\n\n```js\n// in one node module\nasync function runCommand(name) {\n   // some logic\n   throw new SilentError(`command: '${name}' is not installed`);\n}\n```\n\n```js\n// in another node_module\nasync function caller() {\n\n  try {\n    await runCommand('foo');\n  } catch(e) {\n    SilentError.debugOrThrow(e);\n  }\n\n  SilentError.debugOrThrow\n}\n```\n\n## Installation\n\n```\nyarn add silent-error\n```\n\nor\n\n```\nnpm install --save silent-error\n```\n","maintainers":[{"name":"stefanpenner","email":"stefan.penner@gmail.com"}],"time":{"modified":"2022-06-26T19:24:21.352Z","created":"2015-06-03T19:59:16.947Z","1.0.0":"2015-06-03T19:59:16.947Z","1.0.1":"2016-08-07T18:10:30.812Z","1.1.0":"2017-05-01T17:41:41.542Z","1.1.1":"2018-10-10T06:26:04.554Z"},"homepage":"https://github.com/stefanpenner/silent-error#readme","repository":{"type":"git","url":"git+https://github.com/stefanpenner/silent-error.git"},"author":{"name":"Stefan Penner","email":"stefan.penner@gmai.com"},"bugs":{"url":"https://github.com/stefanpenner/silent-error/issues"},"license":"ISC","readmeFilename":"README.md"}