{"_id":"generic-errors","_rev":"13-376ea5b75548daad69ff9b74fe3e5be8","name":"generic-errors","description":"Generic errors with common http codes","dist-tags":{"latest":"2.3.1"},"versions":{"1.0.0":{"name":"generic-errors","version":"1.0.0","description":"Generic errors with common http codes","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"https://github.com/MauriceButler/generic-errors.git"},"keywords":["error","errors","http","custom","generic","code","404","200","teapot"],"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/generic-errors/issues"},"homepage":"https://github.com/MauriceButler/generic-errors","devDependencies":{"tape":"^4.0.0"},"gitHead":"e2e0ffee973a48f00b3538c1013aa586b4f087bc","_id":"generic-errors@1.0.0","_shasum":"b5ce19aec8543a7e4d5e5bd0656fce4389a4dd56","_from":".","_npmVersion":"2.6.1","_nodeVersion":"1.4.2","_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"dist":{"shasum":"b5ce19aec8543a7e4d5e5bd0656fce4389a4dd56","tarball":"https://registry.npmjs.org/generic-errors/-/generic-errors-1.0.0.tgz","integrity":"sha512-d1Xsqj73+m/NKoUMedJi00c9GXGHicKuwazZZJSqrt6Z+kwqHhziFKJIMiC34zX2GqU9woUxIpLdM0YL/WwN+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHTEYDHT93Qfo0uFmxbNh4mFs9q7UoJRJUZc3X8ZIX90AiAmh26ma+KeK7i+HZ+mahdpUakz++piOH2dqMA/bKpcJg=="}]}},"1.0.1":{"name":"generic-errors","version":"1.0.1","description":"Generic errors with common http codes","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"https://github.com/MauriceButler/generic-errors.git"},"keywords":["error","errors","http","custom","generic","code","404","200","teapot"],"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/generic-errors/issues"},"homepage":"https://github.com/MauriceButler/generic-errors","devDependencies":{"tape":"^4.0.0"},"gitHead":"643a9f333c2aeb21f5ec548c29e4b11bd3a67f71","_id":"generic-errors@1.0.1","_shasum":"5fa494a009f4c3373996906bb521c49de5f8c468","_from":".","_npmVersion":"2.6.1","_nodeVersion":"1.4.2","_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"dist":{"shasum":"5fa494a009f4c3373996906bb521c49de5f8c468","tarball":"https://registry.npmjs.org/generic-errors/-/generic-errors-1.0.1.tgz","integrity":"sha512-GagMvfgKTFYrG5sqzAUOZEB9GyJvhIzYNHV0lkpARw93kqyoJES/uqirZWhLXvG2KsvdqulD3tqQtdkinXqlwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAnU5yEJ1HRd+0HK2uiv2MUcAAGxhArdvCkXcwi8bk7nAiEA5vtmmNgk4Q9mvVQRavAPLWPTQnb/06U1iyfqm8ph5fw="}]}},"2.0.0":{"name":"generic-errors","version":"2.0.0","description":"Generic errors with common http codes","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"git+https://github.com/MauriceButler/generic-errors.git"},"keywords":["error","errors","http","custom","generic","code","404","200","teapot"],"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/generic-errors/issues"},"homepage":"https://github.com/MauriceButler/generic-errors","devDependencies":{"tape":"^4.0.0"},"gitHead":"7642c2efc14b49a775ef74fccd67850fea4a8720","_id":"generic-errors@2.0.0","_shasum":"02da92c75f84ec5fbbbd0a9592850e7295e6e1a1","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.0","_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"dist":{"shasum":"02da92c75f84ec5fbbbd0a9592850e7295e6e1a1","tarball":"https://registry.npmjs.org/generic-errors/-/generic-errors-2.0.0.tgz","integrity":"sha512-h28wgIg0EMZ+qEz67CNv0mK8G6lxydgjwCdHlMg90M2py/OxCFvfxbnzB2ER6xjSQr/65H6xgDl2JbMB+OiGkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEUJmIskd1mdmJBu7/0rsOg2fADRq+Ooam+f8qQ7B/XbAiAFb2AgvKEEQSXcCnTRrVj4N6jTvd5LrVC4vwqHYH0gxA=="}]}},"2.0.1":{"name":"generic-errors","version":"2.0.1","description":"Generic errors with common http codes","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"git+https://github.com/MauriceButler/generic-errors.git"},"keywords":["error","errors","http","custom","generic","code","404","200","teapot"],"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/generic-errors/issues"},"homepage":"https://github.com/MauriceButler/generic-errors","devDependencies":{"tape":"^4.0.0"},"gitHead":"75028601d2e88779a29065dcf2e0cf2cacfc2aaf","_id":"generic-errors@2.0.1","_shasum":"3b1338d959f35ae7284d45c10cd325a77275cd1a","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"dist":{"shasum":"3b1338d959f35ae7284d45c10cd325a77275cd1a","tarball":"https://registry.npmjs.org/generic-errors/-/generic-errors-2.0.1.tgz","integrity":"sha512-QunN8ga1MyLMaL/DRC4UtazkyyDDOrCKev9rpBZ548Nz4uUo91zygrr3FPS/7Qyy2g6vdyf69tNbHNjIs+xQ4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYOqRAGBAmT/rQkGZgNDOXNmvtLlGGR5UE6vc574PIVgIgKferg1X1GjXrvKMG9+BbGa3+X7CG+kCtJf4UQ5RTINk="}]},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}]},"2.0.2":{"name":"generic-errors","version":"2.0.2","description":"Generic errors with common http codes","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"git+https://github.com/MauriceButler/generic-errors.git"},"keywords":["error","errors","http","custom","generic","code","404","200","teapot"],"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/generic-errors/issues"},"homepage":"https://github.com/MauriceButler/generic-errors","devDependencies":{"tape":"^4.0.0"},"gitHead":"147edf80e68f2e10849bfeb54063041d74a39e57","_id":"generic-errors@2.0.2","_shasum":"bbef623f5cfd863c0e84b65067dfff719c9f8ab7","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.2.6","_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"dist":{"shasum":"bbef623f5cfd863c0e84b65067dfff719c9f8ab7","tarball":"https://registry.npmjs.org/generic-errors/-/generic-errors-2.0.2.tgz","integrity":"sha512-wv+WI6jku4IR1Ig9cJZXm/xBsYLH1gzpTkXop8A+zBirO8/b0UO6YwEoAyTuTqvLmltDHvaOSoB2FyA0VTA+YA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDljEiNy/gO+xev4Olb2JIGc2jHDr6K2VCQwAeABrqWNQIhANt9ywiFoq85vPDNmFD8xpDuU6yNVwc9a1m1HqJayFqX"}]},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/generic-errors-2.0.2.tgz_1457484665211_0.8931765498127788"}},"2.1.0":{"name":"generic-errors","version":"2.1.0","description":"Generic errors with common http codes","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"git+https://github.com/MauriceButler/generic-errors.git"},"keywords":["error","errors","http","custom","generic","code","404","200","teapot"],"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/generic-errors/issues"},"homepage":"https://github.com/MauriceButler/generic-errors","devDependencies":{"tape":"^4.0.0"},"gitHead":"40fbf100f67ced2c845c69e589d9be655971d303","_id":"generic-errors@2.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"dist":{"integrity":"sha512-TO+sLvA/sNB758B5oMR3gFsj3YwGyzyEVMdxR5XrSES/D+s2nZXzn0xNNtpTMNcBzWuvEgZQAuHMJgtj9ijk8A==","shasum":"9f016b5ab3ec1d774be52ffe422a0134ac55fd65","tarball":"https://registry.npmjs.org/generic-errors/-/generic-errors-2.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAzgae0CUn/5Nb752+eHkhyU6lfwENRWt5YpjknkRSGrAiA9XskkVJB5PCfWIKm/cD9NrXssR4qidKrh3cQQ1Qd5Sw=="}]},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic-errors-2.1.0.tgz_1515725846134_0.3593128838110715"}},"2.2.0":{"name":"generic-errors","version":"2.2.0","description":"Generic errors with common http codes","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"git+https://github.com/MauriceButler/generic-errors.git"},"keywords":["error","errors","http","custom","generic","code","404","200","teapot"],"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/generic-errors/issues"},"homepage":"https://github.com/MauriceButler/generic-errors","devDependencies":{"tape":"^5.0.1"},"dependencies":{},"gitHead":"b102a20f236bb902bbbe46537d9feee61210167b","_id":"generic-errors@2.2.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-R3CnBC7XQOWMrKvq+qbbbCO3a5Sc3P70ZBTURTMpZTARvYWJF78a2I7wQrQfwQqfGiI1KuKgzJS0CmirsUo84w==","shasum":"5c0356e539b7feb82d157302c78c8d3523b91203","tarball":"https://registry.npmjs.org/generic-errors/-/generic-errors-2.2.0.tgz","fileCount":39,"unpackedSize":28082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6Y+7CRA9TVsSAnZWagAACVQQAI5HjZL+vx2dMb6CVnDm\n1MjWYeaQnu1jERfx6pshbKc0lM+FqgfNk6Mu+IybQ2YGWITnO9KxoO+h2U8u\n8Ssf1kS+l/KwYpVII7BAQmCVWKZmGYdjsjSyRLdBt2hymQlnJoyzJi89nECk\nxFhTENn8ro9XZk8gmguFvN0GmlGRPG/lEqg3dT4R2ymBKLtUMVVjmNEqO1Sc\nvSB8y3iT92ChWrO+mwNq/GDdwciHeu0h6eLVmVFOjpqCbcxrIFtyCvshvCXL\nqA4eXSrgG/wUssyBkBPvVv9c8sr5VCxIan9dZWN3eOUWGg4Gy2VxYlOskv6g\nqopOv1SbP8jBERnEKmhigXPRDdVs9FrD8O6FWiozAP0KmJKBPGLhm+8rUQO1\ndhG1RRoIZyR5MyUJLrEjO/jZA/KxJXWpKxFg4Bg5d7maDSHOZinbLKGc3X8K\nvzDg8kDz1j+rTvTth4XzrdQkxIGkVMl3JqtJNW4OMJH5uHN24OC8PaJ9s6qL\nj2lqfX2nrkLJqCiFImxPIM8BUTna0+kV9A1NRaYcQkpMbTdUJOS5jDcU7DXC\nz/H2VkoKe5Z/Vu4m1H+XX9G5pxQNi9P9iwIh9FMx7FCWGHbGOvW026/bVw4+\nqXqe4cKZG+haBTjAlW9gSls4R8S+f+GUJTH123q+rPUKfyZSiGyF1ixyVW7F\naT9E\r\n=DQ5D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkts4xQuxW2AaBopHNk7KUZapEU6IYTsPi3klTtmRzBAIhAMTEKVdQ3AGCdEYByePBLDc71JvRSZhxDlYaWtWwiAOl"}]},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic-errors_2.2.0_1592364986662_0.2810177214661649"},"_hasShrinkwrap":false},"2.2.1":{"name":"generic-errors","version":"2.2.1","description":"Generic errors with common http codes","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"git+https://github.com/MauriceButler/generic-errors.git"},"keywords":["error","errors","http","custom","generic","code","404","200","teapot"],"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/generic-errors/issues"},"homepage":"https://github.com/MauriceButler/generic-errors","devDependencies":{"tape":"^5.0.1"},"dependencies":{},"gitHead":"282c74f85aeab23f297780bc395157cc7cf688c0","_id":"generic-errors@2.2.1","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-vYK74smI7fO6rqk6srGNQdl92et2rRTnugTcvL+kERJNM/PvX/568p2O7lFlBWfWKu3ZJA9f6HA2Mu/lB/Ouyg==","shasum":"0408ac6f2be5e826a34689d138107e668d1ce256","tarball":"https://registry.npmjs.org/generic-errors/-/generic-errors-2.2.1.tgz","fileCount":39,"unpackedSize":28082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6sCeCRA9TVsSAnZWagAAq/QP/2GCFPTmVXKBK64qehbl\nfy3vT3j2Q35/QdL+T+d9F/oHQH2cVU8pKoOstQMEWho3XtNH1FBqOrYqkhvw\nKtuodLZiduI66R9bQ1qkLkAjHzAcvuHuRlJuTcv5wYtkNLv3Sb4nyrVNX6AH\nQg/pzebMx0cmSO9OtvTRutuQ/js6+vvmkTXOYVPmFF88/z16Z4tuAe09qmRN\n8FDWIDzqe7V7XV28G55VvMN31SfveW7BUEm/oSoKl4Oh6yVYoPubAPI2xRs0\nIADazI+iqGcX6VZLt7+vujqy3rS2DUjAUfqDcaB2l5TrY5iJsFXC+8gs9Mnx\nJSbwKAzD321IVh04LjKdhtkgFWgyx5/4Vryxpr1kkfuSrB3yaolKB8Wo0GiA\n5wxmrAz6ERm17QWfmvReMi/nR8FKKJlRJTPYTSV0F2qLIdBrFWNAeGLrvHpA\nMk8cnNc7MwD7ORc0DohWNwEThqCMVjlmjB33MZ2B+jcTwmNk8lN/Jt8IlaCp\nXoY74puRWr9cO6qEQZTkZxDFCNGNO1hVLsCZ/X9lzIVQEYGewgnAUhx8onWf\nwppnzR3eyN85U4Gpm301vE+lqTMI9+CGncuS5ixAOXDACzslnqqHaSItk4Kn\nYQg4mtdM4/cYzp2B890JrKPX/BSUKr+31OGFgFertYX8iaVerdo2iDoelb7Q\nztZn\r\n=p9rL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlzUF+EqlGBMMJQwVxU+wWYZ5kUu9DW+lI4ifCfRur/wIhAKWCp9Ry0uDUy5/A9S8lDsLrvBFoGQNfVll6VilmGwh1"}]},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic-errors_2.2.1_1592443037851_0.8475001746820139"},"_hasShrinkwrap":false},"2.3.0":{"name":"generic-errors","version":"2.3.0","description":"Generic errors with common http codes","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"git+https://github.com/MauriceButler/generic-errors.git"},"keywords":["error","errors","http","custom","generic","code","404","200","teapot"],"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/generic-errors/issues"},"homepage":"https://github.com/MauriceButler/generic-errors","devDependencies":{"tape":"^5.0.1"},"dependencies":{"capture-stack-trace":"^1.0.1"},"gitHead":"047276911bb644250978cf5a50e9d7c0b1e00d4a","_id":"generic-errors@2.3.0","_nodeVersion":"15.4.0","_npmVersion":"7.8.0","dist":{"integrity":"sha512-KaRbJ9nQrhnJGXOwJh+zWD/sVq+aZUy+huCO5ndeyRyrTrywLN6Sn0QhlOgqVbxdjHo8yKRujnlD7xjYggSqHQ==","shasum":"623385fc317d786ba6db46a3d0c440e539749d30","tarball":"https://registry.npmjs.org/generic-errors/-/generic-errors-2.3.0.tgz","fileCount":39,"unpackedSize":29903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8AgfCRA9TVsSAnZWagAAdFcP/i7KNWkKbRvPDclK1eTp\n7T82aBoLkEkyxqr/cmJA9esD9TsGrHljvfhl27JVe8a6IICDCdnauMViOzn0\nqm33watlLWEObOsx4qjZmlaSbGY8C5Y/j/cj0n1kU+bgTvK0sXj+9RSYFAtL\ngq7SKe+6b18dgB9+J3k2xLPKoea+BPcJY9muszvSRVIii75k1tyerF6suDWt\nnuX8tBGlbkAb9r/cV4cqxONKq69uYq3Gpphlg6ZcQLXqBllQaRN8EOcRNynu\nPeoaOhW3+kDNq++1otBdsWw1GCojFiwaZUSbS9YmuSlLsbEXjO6CcRB9wVgq\nmw5+HUNYRLqQ5s/swobuIl588DRribSdc/Gzog3pwAOB9Nw3PMIq40hkjyfZ\nCW3Bor7VumJMdkFGeWGyZS+cpEQ1IkqRHFAlLsWrRLTYiecrOrddCsb+udzi\nvSUQPEwqaTxwVzHLqK1StyK4+DM5quRyeqyMfTq4rWlw6gaKkjdd1MZw+qYA\nJLBu9ZoImBjFOHKzzTpIILz5HMTV5JXJjXaMe+e0aKDCgI1Yq/ThRqdRr+LZ\n46HMmPA/glZFwit336NpA5z1WXIo0FtIz28P0dWuWrXFAaAGiL4tbaxRDwob\nPxtHmxmRVORamJrXYdr0iUcYYN6K0IdQ2p7gJDdySPK3GkUbeMvHTewapxhP\nLuIe\r\n=NZDt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAPOgRaV3hdUjAS+Jranp0qmc00o8qNkcmkfcWLIpimfAiEAru+HM1Jvg57Zw/XfboBRzlXyhwMMNczjTEA4GCLiyMA="}]},"_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic-errors_2.3.0_1626343455069_0.7884923141848006"},"_hasShrinkwrap":false},"2.3.1":{"name":"generic-errors","version":"2.3.1","description":"Generic errors with common http codes","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"git+https://github.com/MauriceButler/generic-errors.git"},"keywords":["error","errors","http","custom","generic","code","404","200","teapot"],"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/generic-errors/issues"},"homepage":"https://github.com/MauriceButler/generic-errors","devDependencies":{"tape":"^5.5.3"},"dependencies":{"capture-stack-trace":"^1.0.1"},"gitHead":"20c8e468fb47bd076184e0671dedb514fce1ef68","_id":"generic-errors@2.3.1","_nodeVersion":"16.4.2","_npmVersion":"8.3.1","dist":{"integrity":"sha512-LfEWi0u1nor4OY0eitK8D/keE93SH3I+nYY/rEVS6v13q5Zi2Ngj2FijrsTJe2e2tUM7L3h84JsqKQVvfEDb8w==","shasum":"f64d248160ced5931118d980c067f2828aa2471f","tarball":"https://registry.npmjs.org/generic-errors/-/generic-errors-2.3.1.tgz","fileCount":39,"unpackedSize":29903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1/scKQRgwVm1y1b76qDK3MJg8LisF4RkXA7bJ59RbAwIgI0dHnSd4JWwB+gwDsj1pr3VkTThjYYSUNmjKSe9iivo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXfmWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9DQ//QRr+5yjT6MzWcifrYLZnI7gmLO7ng/OCfDXyxkHQw2Rnx/aZ\r\ntIktC0XDYgfenNauSwMgnHlItbHok1aHVi0oUe9OtFOkBqJGyBMMPZKtyc7F\r\n4glx16K5yorDmOuR+SoicIC/Lw5CyeemxvM6nlhVQBslEumS1+br6n573YTc\r\n2H7mcGzD/fXHslrFIfBT5nvOI5KQ2FSRwsrR+QRpjZUFjYYmA9wWxW/Q8l/+\r\nNh28MsyLDwN4APLv7Frsph3JVAG6nJplXKver34C477do4z8yNeaq+5opOwJ\r\n4VpZR/jwcv0WUa4AlCXfYri7+wWa50r94VCmIW/oDBL+DGFSK+cQNAwb8eax\r\nRe3HwlBaZ4qiiiCiWOiGxzWrqcPPY0gyE0bICi6zAAXH9ZCERQwoRheXYBzB\r\nMg4fO21VLhR64rJEBMuoaga8OL5UPVx1nkSUjHVUhNQukqotrQR4a3Xun2Rz\r\n5/rQkyNSIUF7krZ7oLzWClu1T5PGdDz57oVHdjyTJQ0s3LAX9ut5e5l1219K\r\nwggeaM39g944OWGr5F/OmtDfbalVwlCaijXgoMfAxHSLrxFqwb1AdrTXpHFn\r\n1lPveIZ6k9wF7M1OwjfaoW6Tp+5scxlvH1hvSSsWkXcwtNRU3f6TB5EMyDXT\r\n7AnHGcEmKloN5+Q0O4Sip3jEyuv3Rtc+7xY=\r\n=RPFZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generic-errors_2.3.1_1650325910322_0.022853183817777678"},"_hasShrinkwrap":false}},"readme":"# generic-errors\n\nGeneric error constructors with common http codes.\n\nAlso doesn't pollute the stack with its own depth.\n\n## Usage\n\nInstall:\n\n```\nnpm install generic-errors\n```\n\nRequire the errors:\n\n```JavaScript\nconst errors = require('generic-errors');\n```\n\nUse an error:\n\n```JavaScript\nconst notFound = new errors.NotFound('Could not find the thing');\n```\n\nAdd additional Properties to the error\n\n```JavaScript\nconst unprocessable = new errors.Unprocessable({ message: 'Cant Process', fields: ['foo', bar] });\n```\n\n## Available constructors:\n\n```\nBaseError                       // 500 Use to make custom errors, easier to inherit from than Error\nBadRequest                      // 400\nUnauthorised                    // 401\nForbidden                       // 403\nNotFound                        // 404\nMethodNotAllowed                // 405\nNotAcceptable                   // 406\nProxyAuthenticationRequired     // 407\nRequestTimeout                  // 408\nConflict                        // 409\nGone                            // 410\nLengthRequired                  // 411\nPreconditionFailed              // 412\nPayloadTooLarge                 // 413\nURITooLong                      // 414\nUnsupportedMediaType            // 415\nRangeNotSatisfiable             // 416\nExpectationFailed               // 417\nTeapot                          // 418\nUnprocessable                   // 422\nTooEarly                        // 425\nUpgradeRequired                 // 426\nPreconditionRequired            // 428\nTooManyRequests                 // 429\nRequestHeaderFieldsTooLarge     // 431\nUnavailableForLegalReasons      // 451\nNotImplemented                  // 501\nBadGateway                      // 502\nServiceUnavailable              // 503\nGatewayTimeout                  // 504\nHTTPVersionNotSupported         // 505\nVariantAlsoNegotiates           // 506\nNotExtended                     // 510\nNetworkAuthenticationRequired   // 511\n```\n\n## Detection\n\nAfter serialization Generic Errors can still be detected using the `isGenericError` function attacted to the BaseError constructor.\n\n```JavaScript\n    const notFound = new errors.NotFound();\n    const serializedError = JSON.parse(JSON.stringify(notFound));\n\n    errors.BaseError.isGenericError(serializedError);  // true\n```\n","maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"time":{"modified":"2022-06-18T07:27:14.928Z","created":"2015-06-22T04:59:30.219Z","1.0.0":"2015-06-22T04:59:30.219Z","1.0.1":"2015-06-22T06:13:20.751Z","2.0.0":"2015-07-10T05:57:28.611Z","2.0.1":"2015-12-07T04:35:48.289Z","2.0.2":"2016-03-09T00:51:07.726Z","2.1.0":"2018-01-12T02:57:26.329Z","2.2.0":"2020-06-17T03:36:26.830Z","2.2.1":"2020-06-18T01:17:17.951Z","2.3.0":"2021-07-15T10:04:15.202Z","2.3.1":"2022-04-18T23:51:50.443Z"},"homepage":"https://github.com/MauriceButler/generic-errors","keywords":["error","errors","http","custom","generic","code","404","200","teapot"],"repository":{"type":"git","url":"git+https://github.com/MauriceButler/generic-errors.git"},"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"bugs":{"url":"https://github.com/MauriceButler/generic-errors/issues"},"license":"MIT","readmeFilename":"README.md"}