{"_id":"mapbox-error","_rev":"177-ad48ed0bda9886dd07e38563247205c1","name":"mapbox-error","description":"Error middleware for express apps","dist-tags":{"latest":"2.2.0"},"versions":{"1.2.0":{"name":"mapbox-error","description":"Error middleware for express apps","author":{"name":"Mapbox","url":"https://www.mapbox.com"},"license":"ISC","version":"1.2.0","main":"./index","dependencies":{"fastlog":"0.1.0"},"scripts":{"test":"jshint *.js && tape test.js && retire -n"},"devDependencies":{"retire":"0.3.x","jshint":"~2.3.0","tape":"3.0.x"},"jshintConfig":{"node":true,"undef":true,"shadow":true,"sub":true,"trailing":true},"gitHead":"657699e0fae9b49c53d4f300c5ab13df64d60497","_id":"mapbox-error@1.2.0","_shasum":"a5c6123156afcc1590c63f7d990c765808e59ea1","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.28","_npmUser":{"name":"willwhite","email":"will@mapbox.com"},"maintainers":[{"name":"willwhite","email":"will@mapbox.com"}],"dist":{"shasum":"a5c6123156afcc1590c63f7d990c765808e59ea1","tarball":"https://registry.npmjs.org/mapbox-error/-/mapbox-error-1.2.0.tgz","integrity":"sha512-fSjWkzbeMf/L24t4NrCP6mTODaPX6P1cMsIRraTM9rn8uBJSB/g3d4AJC6M43uSJMoGBp6gl5NV7Vg6rqCXKWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDv0oH3cWQQS2W66dvADL3VHKRlHWWQB2P26JKmgJ4onwIhAL85+iMWvE1vud+d77dDpDP6vpFD/KtnDJOeEROn9Clw"}]},"directories":{},"deprecated":"This package has moved to the @mapbox namespace. All new versions are available via @mapbox/mapbox-error"},"1.3.0":{"name":"mapbox-error","description":"Error middleware for express apps","author":{"name":"Mapbox","url":"https://www.mapbox.com"},"license":"ISC","version":"1.3.0","main":"./index","dependencies":{"fastlog":"0.1.0"},"scripts":{"test":"jshint *.js && tape test.js && retire -n"},"devDependencies":{"retire":"0.3.x","jshint":"~2.3.0","tape":"3.0.x"},"jshintConfig":{"node":true,"undef":true,"shadow":true,"sub":true,"trailing":true},"gitHead":"702093cdca7cbc2c4e52d66d4436902e1dd842ae","_id":"mapbox-error@1.3.0","_shasum":"a636455944ff71a30414d4ae0f52386ecc6f278b","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.28","_npmUser":{"name":"willwhite","email":"will@mapbox.com"},"maintainers":[{"name":"willwhite","email":"will@mapbox.com"},{"name":"edenh","email":"eden@mapbox.com"},{"name":"sgillies","email":"sean@mapbox.com"},{"name":"lbud","email":"lauren@mapbox.com"},{"name":"bsudekum","email":"bobby@mapbox.com"},{"name":"dnomadb","email":"damon@mapbox.com"},{"name":"ian29","email":"ian.villeda@gmail.com"},{"name":"dvncan","email":"duncan@mapbox.com"},{"name":"nickidlugash","email":"nicki@mapbox.com"},{"name":"samanbb","email":"saman@mapbox.com"},{"name":"ajashton","email":"aj.ashton@gmail.com"},{"name":"lxbarth","email":"alex@developmentseed.org"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"mapbox","email":"accounts@mapbox.com"},{"name":"springmeyer","email":"dane@mapbox.com"},{"name":"kkaefer","email":"kkaefer@gmail.com"},{"name":"dthompson","email":"dthompson@gmail.com"},{"name":"yhahn","email":"young@developmentseed.org"},{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"a636455944ff71a30414d4ae0f52386ecc6f278b","tarball":"https://registry.npmjs.org/mapbox-error/-/mapbox-error-1.3.0.tgz","integrity":"sha512-oRrjL49/NXeYMdd1OmtWE7UrD6xpRMdULCsqVtUYlTd3t5Yg61ob3O2thGwh/vBPUpqXoh6vbiFvroqP3ozRVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXQ9zdHUq2ypVTW9PpuECTl/SKlxaFHjrlQo04SJtYpAIgIqzKMI1d2FbvyY5DDw5WOCy0lPnqOIMcVUo2KZ/Fe+4="}]},"directories":{},"deprecated":"This package has moved to the @mapbox namespace. All new versions are available via @mapbox/mapbox-error"},"2.0.0":{"name":"mapbox-error","description":"Error middleware for express apps","author":{"name":"Mapbox","url":"https://www.mapbox.com"},"license":"ISC","version":"2.0.0","main":"./index","dependencies":{"fastlog":"0.1.0"},"scripts":{"test":"jshint *.js && tape test.js && retire -n"},"repository":{"type":"git","url":"git+https://github.com/mapbox/mapbox-error.git"},"devDependencies":{"retire":"0.3.x","jshint":"~2.3.0","tape":"3.0.x"},"jshintConfig":{"node":true,"undef":true,"shadow":true,"sub":true,"trailing":true},"gitHead":"4ad84b9ef2b87c64ece9322d66167a8f4e17ddd1","bugs":{"url":"https://github.com/mapbox/mapbox-error/issues"},"homepage":"https://github.com/mapbox/mapbox-error#readme","_id":"mapbox-error@2.0.0","_shasum":"fa91f3c1cfc5fef26945492563485531d7979401","_from":".","_npmVersion":"2.8.4","_nodeVersion":"0.10.28","_npmUser":{"name":"willwhite","email":"will@mapbox.com"},"maintainers":[{"name":"willwhite","email":"will@mapbox.com"},{"name":"edenh","email":"eden@mapbox.com"},{"name":"sgillies","email":"sean@mapbox.com"},{"name":"lbud","email":"lauren@mapbox.com"},{"name":"bsudekum","email":"bobby@mapbox.com"},{"name":"dnomadb","email":"damon@mapbox.com"},{"name":"ian29","email":"ian.villeda@gmail.com"},{"name":"dvncan","email":"duncan@mapbox.com"},{"name":"nickidlugash","email":"nicki@mapbox.com"},{"name":"samanbb","email":"saman@mapbox.com"},{"name":"ajashton","email":"aj.ashton@gmail.com"},{"name":"lxbarth","email":"alex@developmentseed.org"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"mapbox","email":"accounts@mapbox.com"},{"name":"springmeyer","email":"dane@mapbox.com"},{"name":"kkaefer","email":"kkaefer@gmail.com"},{"name":"dthompson","email":"dthompson@gmail.com"},{"name":"yhahn","email":"young@developmentseed.org"},{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"fa91f3c1cfc5fef26945492563485531d7979401","tarball":"https://registry.npmjs.org/mapbox-error/-/mapbox-error-2.0.0.tgz","integrity":"sha512-mPcRS5MA/otJFF1pkSnldTW2NlgLaEPkSNOGiutexLOhSUuIBmseKjPaTp5EKzcTXKT2nK+V9ThJmoWrPTkPaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBl+lrwviZEzjfERn7H2AiM1OwBc5cCCdawY3qBvqXdWAiEA/Z7yKM6Fa2JfW+xATDxFOmqDXZiYf9+uuLK1c/iQSZA="}]},"directories":{},"deprecated":"This package has moved to the @mapbox namespace. All new versions are available via @mapbox/mapbox-error"},"2.1.0":{"name":"mapbox-error","description":"Error middleware for express apps","author":{"name":"Mapbox","url":"https://www.mapbox.com"},"license":"ISC","version":"2.1.0","main":"./index","dependencies":{"fastlog":"0.1.0"},"scripts":{"test":"jshint *.js && tape test.js && retire -n"},"repository":{"type":"git","url":"https://github.com/mapbox/mapbox-error.git"},"devDependencies":{"retire":"0.3.x","jshint":"~2.3.0","tape":"3.0.x"},"jshintConfig":{"node":true,"undef":true,"shadow":true,"sub":true,"trailing":true},"gitHead":"8c6252193f1525536cd25a364da7ea4f552ff7a0","bugs":{"url":"https://github.com/mapbox/mapbox-error/issues"},"homepage":"https://github.com/mapbox/mapbox-error","_id":"mapbox-error@2.1.0","_shasum":"79cb22ad5b148cc22c620c754bf03ccea174ee92","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.32","_npmUser":{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},"maintainers":[{"name":"willwhite","email":"will@mapbox.com"},{"name":"edenh","email":"eden@mapbox.com"},{"name":"sgillies","email":"sean@mapbox.com"},{"name":"lbud","email":"lauren@mapbox.com"},{"name":"bsudekum","email":"bobby@mapbox.com"},{"name":"dnomadb","email":"damon@mapbox.com"},{"name":"ian29","email":"ian.villeda@gmail.com"},{"name":"dvncan","email":"duncan@mapbox.com"},{"name":"nickidlugash","email":"nicki@mapbox.com"},{"name":"samanbb","email":"saman@mapbox.com"},{"name":"ajashton","email":"aj.ashton@gmail.com"},{"name":"lxbarth","email":"alex@developmentseed.org"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"mapbox","email":"accounts@mapbox.com"},{"name":"springmeyer","email":"dane@mapbox.com"},{"name":"kkaefer","email":"kkaefer@gmail.com"},{"name":"dthompson","email":"dthompson@gmail.com"},{"name":"yhahn","email":"young@developmentseed.org"},{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"79cb22ad5b148cc22c620c754bf03ccea174ee92","tarball":"https://registry.npmjs.org/mapbox-error/-/mapbox-error-2.1.0.tgz","integrity":"sha512-+hFRw1yRcCGy13ZBJEjsU/NKww+pVqstTj3L/oKIV75AKaIGHuQHTEyukdMWNkPoHlHQ+xrV/2d7yKechHEcWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBdkxuv03IjfiLvgJvVV8nkGq4tA8Y9skDT0YjpxYM0YAiA7oLvsmG3VLTFMjdhblhEom3aXJGrOQczP2+JvSqC2sA=="}]},"directories":{},"deprecated":"This package has moved to the @mapbox namespace. All new versions are available via @mapbox/mapbox-error"},"2.2.0":{"name":"mapbox-error","description":"Error middleware for express apps","author":{"name":"Mapbox","url":"https://www.mapbox.com"},"license":"ISC","version":"2.2.0","main":"./index","dependencies":{"fastlog":"0.1.0"},"scripts":{"test":"eslint index.js && jshint *.js && tape test.js && retire -n"},"repository":{"type":"git","url":"git+https://github.com/mapbox/mapbox-error.git"},"devDependencies":{"retire":"0.3.x","jshint":"~2.3.0","tape":"3.0.x","eslint":"~1.00.0","eslint-config-unstyled":"^1.1.0"},"jshintConfig":{"node":true,"undef":true,"shadow":true,"sub":true,"trailing":true},"gitHead":"72bbcf29d6efa1fd9002d11c91aac07595905cda","bugs":{"url":"https://github.com/mapbox/mapbox-error/issues"},"homepage":"https://github.com/mapbox/mapbox-error#readme","_id":"mapbox-error@2.2.0","_shasum":"1d21e807ab8b3d8ed0a9e5ea583ab6066c81500f","_from":".","_npmVersion":"2.15.3","_nodeVersion":"4.2.4","_npmUser":{"name":"scothis","email":"scothis@gmail.com"},"dist":{"shasum":"1d21e807ab8b3d8ed0a9e5ea583ab6066c81500f","tarball":"https://registry.npmjs.org/mapbox-error/-/mapbox-error-2.2.0.tgz","integrity":"sha512-we+Ur0JDthiTSvT9d4rA6lxbQU0XJo3Lq9rvCv9XtEgzk82EiO/P6NlK2ic8iOQNezLbQkZsB1bDXIVWMDJnEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbyhNcoogs5yAg89UGaMnO93iC1lxWlzBhvPUQDTfmLAiEAsB7diovN9gqWzRbLKoQMtZWkj7ziES0lXUwpEm0R6bs="}]},"maintainers":[{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"ajashton","email":"aj.ashton@gmail.com"},{"name":"alulsh","email":"ulsh@mapbox.com"},{"name":"amyleew","email":"amyleewalton@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"arunasank","email":"aruna@mapbox.com"},{"name":"bhousel","email":"bryan@mapbox.com"},{"name":"bsudekum","email":"bobby@mapbox.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"danieljh","email":"daniel+npm@trvx.org"},{"name":"dnomadb","email":"damon@mapbox.com"},{"name":"dthompson","email":"dthompson@gmail.com"},{"name":"emilymcafee","email":"emily@mapbox.com"},{"name":"emilymdubois","email":"dubois@mapbox.com"},{"name":"freenerd","email":"spam@freenerd.de"},{"name":"geohacker","email":"sajjadkm@gmail.com"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"ian29","email":"ian.villeda@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"isiyu","email":"siyu.song@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"kaidalgleish","email":"kai@mapbox.com"},{"name":"karenzshea","email":"karen@mapbox.com"},{"name":"kkaefer","email":"mail@kkaefer.com"},{"name":"lbud","email":"lauren@mapbox.com"},{"name":"lxbarth","email":"alex@mapbox.com"},{"name":"lyzidiamond","email":"lyzi@mapbox.com"},{"name":"mapbox-admin","email":"accounts@mapbox.com"},{"name":"mapsam","email":"sam@mapbox.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"mokob","email":"moritz@mapbox.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"mtirwin","email":"irwin@mapbox.com"},{"name":"nickidlugash","email":"nicki@mapbox.com"},{"name":"planemad","email":"arun.planemad@gmail.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"rodowi","email":"rod@wilhel.me"},{"name":"samanbb","email":"saman@mapbox.com"},{"name":"scothis","email":"scothis@gmail.com"},{"name":"sgillies","email":"sean@mapbox.com"},{"name":"springmeyer","email":"dane@mapbox.com"},{"name":"themarex","email":"patrick@mapbox.com"},{"name":"tmcw","email":"tom@macwright.org"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"willwhite","email":"will@mapbox.com"},{"name":"yhahn","email":"young@mapbox.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mapbox-error-2.2.0.tgz_1472083544433_0.9330169684253633"},"directories":{},"deprecated":"This package has moved to the @mapbox namespace. All new versions are available via @mapbox/mapbox-error"}},"readme":"[![Build Status](https://travis-ci.org/mapbox/mapbox-error.svg)](https://travis-ci.org/mapbox/mapbox-error)\n\n### Generic error middleware for express apps\n\n#### usage:\n``` javascript\nvar errors = require('mapbox-error');\nvar ErrorHTTP = errors.ErrorHTTP;\nvar server = require('express')();\n\n// use ErrorHTTP to associate a status code and message to an Error object\nserver.get('/error', function(req, res, next) {\n  return next(new ErrorHTTP('Error for the sake of errors', 400);\n});\n\n// put these after other routes and uses have been defined\nserver.use(errors.showError);\nserver.use(errors.notFound);\n\n```\n\n#### test:\n\n`npm test`\n","maintainers":[{"email":"yannick.meeus+npm+production+ci@mapbox.com","name":"mbx-npm-ci-production"},{"email":"yannick.meeus+npm+staging+ci@mapbox.com","name":"mbx-npm-ci-staging"},{"email":"yannick.meeus+npm+prod+advanced+actions@mapbox.com","name":"mbx-npm-advanced-actions-production"},{"email":"yannick.meeus+npm+staging+advanced+actions@mapbox.com","name":"mbx-npm-advanced-actions-staging"},{"email":"yannick.meeus+npm+prod+09@mapbox.com","name":"mbx-npm-09-production"},{"email":"yannick.meeus+npm+prod+08@mapbox.com","name":"mbx-npm-08-production"},{"email":"yannick.meeus+npm+prod+07@mapbox.com","name":"mbx-npm-07-production"},{"email":"yannick.meeus+npm+prod+06@mapbox.com","name":"mbx-npm-06-production"},{"email":"yannick.meeus+npm+prod+05@mapbox.com","name":"mbx-npm-05-production"},{"email":"yannick.meeus+npm+prod+04@mapbox.com","name":"mbx-npm-04-production"},{"email":"yannick.meeus+npm+prod+03@mapbox.com","name":"mbx-npm-03-production"},{"email":"yannick.meeus+npm+prod+02@mapbox.com","name":"mbx-npm-02-production"},{"email":"yannick.meeus+npm+prod+01@mapbox.com","name":"mbx-npm-01-production"},{"email":"yannick.meeus@mapbox.com","name":"mbx-npm-02-staging"},{"email":"accounts+npmjs-01@mapbox.com","name":"mapbox-npm-01"},{"email":"accounts+npmjs-02@mapbox.com","name":"mapbox-npm-02"},{"email":"accounts+npmjs-07@mapbox.com","name":"mapbox-npm-07"},{"email":"accounts+npmjs-03@mapbox.com","name":"mapbox-npm-03"},{"email":"accounts+npmjs-04@mapbox.com","name":"mapbox-npm-04"},{"email":"accounts+npmjs-09@mapbox.com","name":"mapbox-npm-09"},{"email":"accounts+npmjs-05@mapbox.com","name":"mapbox-npm-05"},{"email":"accounts+npmjs-06@mapbox.com","name":"mapbox-npm-06"},{"email":"accounts+npmjs-08@mapbox.com","name":"mapbox-npm-08"},{"email":"accounts+npmjs-advanced-actions@mapbox.com","name":"mapbox-npm-advanced-actions"},{"email":"accounts+npmjs-npm-ci@mapbox.com","name":"mapbox-npm-ci"},{"email":"accounts+npmjs@mapbox.com","name":"mapbox-npm"},{"email":"accounts@mapbox.com","name":"mapbox-admin"},{"email":"accounts+npm-mapbox-machine-user@mapbox.com","name":"mapbox-machine-user"}],"time":{"modified":"2023-01-12T12:46:15.717Z","created":"2015-02-12T04:26:30.797Z","1.2.0":"2015-02-12T04:26:30.797Z","1.3.0":"2015-02-16T03:10:17.468Z","2.0.0":"2015-05-11T18:56:27.170Z","2.1.0":"2015-06-03T21:02:55.001Z","2.2.0":"2016-08-25T00:05:44.709Z"},"author":{"name":"Mapbox","url":"https://www.mapbox.com"},"license":"ISC","readmeFilename":"README.md","homepage":"https://github.com/mapbox/mapbox-error#readme","repository":{"type":"git","url":"git+https://github.com/mapbox/mapbox-error.git"},"bugs":{"url":"https://github.com/mapbox/mapbox-error/issues"}}