{"_id":"silent-error","_rev":"3173724","name":"silent-error","description":"stackless unless otherwise requested error","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"stefanpenner","email":"stefan.penner@gmail.com"}],"time":{"modified":"2023-12-06T08:29:15.000Z","created":"2015-06-03T19:59:16.947Z","1.1.1":"2018-10-10T06:26:04.554Z","1.1.0":"2017-05-01T17:41:41.542Z","1.0.1":"2016-08-07T18:10:30.812Z","1.0.0":"2015-06-03T19:59:16.947Z"},"users":{},"author":{"name":"Stefan Penner","email":"stefan.penner@gmai.com"},"repository":{"type":"git","url":"git+https://github.com/stefanpenner/silent-error.git"},"versions":{"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":{"shasum":"f72af5b0d73682a2ba1778b7e32cd8aa7c2d8662","size":1849,"noattachment":false,"key":"/silent-error/-/silent-error-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/silent-error/download/silent-error-1.1.1.tgz"},"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,"publish_time":1539152764554,"_cnpm_publish_time":1539152764554,"_cnpmcore_publish_time":"2021-12-16T17:36:29.291Z"},"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","size":1381,"noattachment":false,"key":"/silent-error/-/silent-error-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/silent-error/download/silent-error-1.1.0.tgz"},"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":{},"publish_time":1493660501542,"_hasShrinkwrap":false,"_cnpm_publish_time":1493660501542,"_cnpmcore_publish_time":"2021-12-16T17:36:29.487Z"},"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","size":938,"noattachment":false,"key":"/silent-error/-/silent-error-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/silent-error/download/silent-error-1.0.1.tgz"},"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":{},"publish_time":1470593430812,"_hasShrinkwrap":false,"_cnpm_publish_time":1470593430812,"_cnpmcore_publish_time":"2021-12-16T17:36:29.693Z"},"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","size":1738,"noattachment":false,"key":"/silent-error/-/silent-error-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/silent-error/download/silent-error-1.0.0.tgz"},"directories":{},"publish_time":1433361556947,"_hasShrinkwrap":false,"_cnpm_publish_time":1433361556947,"_cnpmcore_publish_time":"2021-12-16T17:36:29.927Z"}},"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","_attachments":{},"homepage":"https://github.com/stefanpenner/silent-error#readme","bugs":{"url":"https://github.com/stefanpenner/silent-error/issues"},"license":"ISC"}