{"_id":"@42px/custom-errors","_rev":"7-3a95e4a9d6a158dd9ad927247f672afc","name":"@42px/custom-errors","dist-tags":{"latest":"1.4.0"},"versions":{"1.0.0":{"name":"@42px/custom-errors","version":"1.0.0","description":"helpful custom errors","main":"./dist/custom-errors.cjs.js","jsnext:main":"./dist/index.js","module":"./dist/index.js","umd:main":"./dist/custom-errors.umd.js","iife:main":"./dist/custom-errors.iife.js","browser":"./dist/index.js","scripts":{"build":"rollup -c rollup.config.js","lint":"eslint \"./**/*.{js,ts,tsx}\" --fix"},"repository":{"type":"git","url":"git+https://github.com/42-px/custom-errors.git"},"keywords":["errors","typescript"],"bugs":{"url":"https://github.com/42-px/custom-errors/issues"},"homepage":"https://github.com/42-px/custom-errors#readme","author":{"name":"42px"},"license":"ISC","devDependencies":{"@babel/core":"^7.12.13","@babel/plugin-proposal-optional-chaining":"^7.12.13","@babel/plugin-transform-modules-commonjs":"^7.12.13","@babel/plugin-transform-runtime":"^7.12.15","@babel/preset-env":"^7.12.13","@babel/preset-typescript":"^7.12.13","@babel/runtime":"^7.12.13","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","babel-plugin-module-resolver":"^4.1.0","eslint":"^7.19.0","eslint-plugin-promise":"^4.2.1","rollup":"^2.38.5","rollup-plugin-babel":"^4.4.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.3"},"typings":"./dist","gitHead":"eddd59c225aa4d5ece107d624857f2d9e439badc","_id":"@42px/custom-errors@1.0.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.11","dist":{"integrity":"sha512-HFuBoBsYdhJJCP1Ezf/iLETqbGyOvbzPqq9txktDJ9/AaL3pgbS6eam/3ygdSVD6vjwiezyoBl7wkZE/pOu3AA==","shasum":"0d5abc516c19faa7463851ecff6ddf82fea1e2c8","tarball":"https://registry.npmjs.org/@42px/custom-errors/-/custom-errors-1.0.0.tgz","fileCount":11,"unpackedSize":9175,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgISQyCRA9TVsSAnZWagAAn0EP/RLM4CDiFtIQQV8qcC1V\nlNVqlT9kOhuGqt6FjI9ypGAT2oFLq2sjWzr6+KX29Jjj3Ms5J0HC6DzuN4+l\n6oOnLnf4QwAVxZtnhjcLOCqnt7VlJV07sSMArBqzHzNW9HV0yIfDW0Lg4uid\nk9CfJhMl+Gh+28Erh/fkLlO5lYPt0IGQrOsQ6ECfVnBTcvfWeB+iE8Eo8aGE\n/UNKqutbDeek+hyq1C/9+ErgrW7Xx9dy2JNBzHK5duQfcDoUARaM+uk4G4EQ\nNRbaBa5F4xw1tKyAHafUdKuuPPPsgxX/auOwK/Mien55TfFrCSIyKzOdxCSI\nJwJrvNlTp5uijcLXhwSZ6PYz+OdcrwAwlHeA1+Hmitc5zEbDXsInFOP9eNuS\ny/fJRnLcFkypnhxe5ajabPpVLfBrev9QNYeSjLBSeonhVr0sbtDCRyoxcBIB\nTjGS0xMxPm6TKHDGUC2sajIz8/FrTjKYOdXfYDLruYgiqFlaubU1geRbCzAB\nmkEHcEx0hdl8gGIRldma1zOubfwZMUDOvn9FiWdsWUoF1+UVW/ivSYj9itVe\nObV9pyUm9pjE8ydaPvPnTv3ez+5xmmUE8kXt31Gl/aDmMmVbesMRgZInUOBy\nKRK9zRhTTl2KbHLTXoCDVZ6yIvjhjStI5fVRgoXpmBnGHyn71VsPsQdqoSP5\nSRE9\r\n=Somk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDd+ph+KYjSpeI9uizoTyemogX1PPGdU5uNs2Ip4l6yAgIgSj3PoO78F/8qcD0v7ft4Eau3jY6ZY3OEhRCzX3hu9lg="}]},"_npmUser":{"name":"42px","email":"office@42px.ru"},"directories":{},"maintainers":[{"name":"42px","email":"office@42px.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-errors_1.0.0_1612784690384_0.6376993690744321"},"_hasShrinkwrap":false},"1.0.1":{"name":"@42px/custom-errors","version":"1.0.1","description":"helpful custom errors","main":"./dist/custom-errors.cjs.js","jsnext:main":"./dist/index.js","module":"./dist/index.js","umd:main":"./dist/custom-errors.umd.js","iife:main":"./dist/custom-errors.iife.js","browser":"./dist/index.js","scripts":{"build":"rollup -c rollup.config.js","lint":"eslint \"./**/*.{js,ts,tsx}\" --fix"},"repository":{"type":"git","url":"git+https://github.com/42-px/custom-errors.git"},"keywords":["errors","typescript"],"bugs":{"url":"https://github.com/42-px/custom-errors/issues"},"homepage":"https://github.com/42-px/custom-errors#readme","author":{"name":"42px"},"license":"ISC","devDependencies":{"@babel/core":"^7.12.13","@babel/plugin-proposal-optional-chaining":"^7.12.13","@babel/plugin-transform-modules-commonjs":"^7.12.13","@babel/plugin-transform-runtime":"^7.12.15","@babel/preset-env":"^7.12.13","@babel/preset-typescript":"^7.12.13","@babel/runtime":"^7.12.13","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","babel-plugin-module-resolver":"^4.1.0","eslint":"^7.19.0","eslint-plugin-promise":"^4.2.1","rollup":"^2.38.5","rollup-plugin-babel":"^4.4.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.3"},"typings":"./dist","gitHead":"8d94a7b1ff38864752818638866e08613b896ed9","_id":"@42px/custom-errors@1.0.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.11","dist":{"integrity":"sha512-0asLNRo/k9/SvGAtn2zt5BqJ3KcGtaSsGPeSOnQWNwxWTPvU3JL398GiJRx42swdUKOrM7/uq52jg0pe7lrxSQ==","shasum":"10c25e678cdccc741930d2d2ced3052eb8b1d22a","tarball":"https://registry.npmjs.org/@42px/custom-errors/-/custom-errors-1.0.1.tgz","fileCount":11,"unpackedSize":9610,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIiyTCRA9TVsSAnZWagAAZBgQAIooMmOE558I/xN3kfDn\nYF/tnYknb3QLDH/fPqb1AGrbORaz4Iv1ZpC7+OVZFNxC43g2LlapQD7sFAQr\nIZT+7jbN6y2rydHSYQ+B46ICuCROW18+DV8X+iRQJZwSKttGmZmJPwoH9zR8\nnmRDkxNmo58+BLlxraCIrdWxfcLCD/MJdDm8eyEijgBq5CJDL7RwqY/lmgva\npqjt42NxyBVrDA32X8cxKBUbElRPTykoOZaMmcx/K077tBLUHi4XUoo8YiyW\nLkCUx9Gsb+wV0seOGSqi2yFJXw7f0XelCkKJoNp5GDeqGMc6yqTgPq7hzOxg\n7xKJn0d1gULm1e+bc0dkrwkLzndiGdTFGnsC4kFmVzj17H1EwimH04bPQW+L\n2spflh4f+h5fSgFYCeGYFVcnCj3j+BwveZDHqICQ+S577reKnBZEcZHAO5Q3\n/oemkwlTFR6zbh62ZlUvtp7DWuN9gSajkueTWFBkeNRUBkeg0o6FkHCHS5Fd\ntGQ8+6ZTautzsuV4TLsb67lF+Sw+BwqmnZW2O6rau1HS7yQTfL9UB+YLZbO8\ntrNftzbI/IUeILney6Mc9lxQ9//2yb6bnKR96RoozHW6DGeVJc3AqGYtYEDD\nAW8/klw4jc2vDAwyOK9b6B9f83FOurk1/kx5fObdZGKw3yRpQ9Kh389nLROT\nndhf\r\n=fLbe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGnNhz85dTq4u5BHduUwuW4Dmd6YDfuWu/HLzys4z8URAiAfQ+Y149hKYWT6TrsXRBSx4mYX4wGMWuXDQiqqAp64ZA=="}]},"_npmUser":{"name":"42px","email":"office@42px.ru"},"directories":{},"maintainers":[{"name":"42px","email":"office@42px.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-errors_1.0.1_1612852371126_0.7524156744620487"},"_hasShrinkwrap":false},"1.0.2":{"name":"@42px/custom-errors","version":"1.0.2","description":"helpful custom errors","main":"./dist/custom-errors.cjs.js","jsnext:main":"./dist/index.js","module":"./dist/index.js","umd:main":"./dist/custom-errors.umd.js","iife:main":"./dist/custom-errors.iife.js","browser":"./dist/index.js","scripts":{"build":"rollup -c rollup.config.js","lint":"eslint \"./**/*.{js,ts,tsx}\" --fix"},"repository":{"type":"git","url":"git+https://github.com/42-px/custom-errors.git"},"keywords":["errors","typescript"],"bugs":{"url":"https://github.com/42-px/custom-errors/issues"},"homepage":"https://github.com/42-px/custom-errors#readme","author":{"name":"42px"},"license":"ISC","devDependencies":{"@babel/core":"^7.12.13","@babel/plugin-proposal-optional-chaining":"^7.12.13","@babel/plugin-transform-modules-commonjs":"^7.12.13","@babel/plugin-transform-runtime":"^7.12.15","@babel/preset-env":"^7.12.13","@babel/preset-typescript":"^7.12.13","@babel/runtime":"^7.12.13","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","babel-plugin-module-resolver":"^4.1.0","eslint":"^7.19.0","eslint-plugin-promise":"^4.2.1","rollup":"^2.38.5","rollup-plugin-babel":"^4.4.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.3"},"typings":"./dist","gitHead":"23cb609473ccb9c19cf2eececba7b72f2e46377e","_id":"@42px/custom-errors@1.0.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.11","dist":{"integrity":"sha512-i7X9z860rG0BNmXUPTvUsICi1lG5qv1ckztgL54OgfvYZ3u/8lDPJ4+eAfCZTU/k5GqhA4ZA6oWz6Bd5jLX8/A==","shasum":"cfe3d80d55b1f225c8b9fd68ce255b60a2a4e27b","tarball":"https://registry.npmjs.org/@42px/custom-errors/-/custom-errors-1.0.2.tgz","fileCount":11,"unpackedSize":10103,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIkuRCRA9TVsSAnZWagAAzCgQAJtPlKwPxa/JYdRN6m6g\nYz4FEAOVhcqhp/I8VzrJ8rG3TB0K20xTd5v9WuC4q8G/gMyLgU/ZIiKjepzr\nEazGZwIxJBjvV6MBpZdEZh0n8SKglR0EgQktUqoElD1nIRCTa423d72EBjEY\nsEJrzRADw+Qlbm5d9BurHY2ISZjT8FErnS3zQUF1fvtPNGXG5OY6lVP0WVjl\n4EP8xiqUhxHRaxYrHbeT7LZAVpG8saxgxJ8Y51NEtm1tqeuTI2knwpk0x2e7\nMeuRB4Ma6hGsq/irScy8eOo7MvHodIoqUuu98AqC3IB77mFZLF1/cFUtywCU\nQkYLkxZ4jET6h7Ru+gd9UY0dDinfySJuC8cJ1EvfWwkvxvpup74qHF81ofSD\nHdqn9xZV+ARyjJ/nSsmV4yeDbPG4So4OQRQN+U/FW7/Q6tTSFcTyp+alKGM+\n44CtbLMBTHhx8zjzXOnc5/kCFy1Ep0Ia1T5imHhpiifcQglZt7s9Qs/kadV8\nC/pl2K4X30XKIbDWZrnsrJP5Mz9vp25B4fUyf/T5AIs7yuWSJ8vmf/hPT4na\nasLAPbgBxT4xPjC13XgoeTphmlCClaZ314Q0/Ev7FwsADHBp88ygrj/3/s8J\nt3Gl9CTXnNQYcLpUj0DR7nbpoY5RW51uv80KrZ85knHb0bcKXket8pa63npW\n3hYG\r\n=OeXH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEH+kdj1ZXeaVohCPGkIP009Vyzq19m4C4kSXjBzrCV3AiBNGXyqdCpUiNukwAbgO4rN6nZri6xU0iuSYIrQ7mnFsg=="}]},"_npmUser":{"name":"42px","email":"office@42px.ru"},"directories":{},"maintainers":[{"name":"42px","email":"office@42px.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-errors_1.0.2_1612860304530_0.3529795181207056"},"_hasShrinkwrap":false},"1.0.3":{"name":"@42px/custom-errors","version":"1.0.3","description":"helpful custom errors","main":"./dist/custom-errors.cjs.js","jsnext:main":"./dist/index.js","module":"./dist/index.js","umd:main":"./dist/custom-errors.umd.js","iife:main":"./dist/custom-errors.iife.js","browser":"./dist/index.js","scripts":{"build":"rollup -c rollup.config.js","lint":"eslint \"./**/*.{js,ts,tsx}\" --fix"},"repository":{"type":"git","url":"git+https://github.com/42-px/custom-errors.git"},"keywords":["errors","typescript"],"bugs":{"url":"https://github.com/42-px/custom-errors/issues"},"homepage":"https://github.com/42-px/custom-errors#readme","author":{"name":"42px"},"license":"ISC","devDependencies":{"@babel/core":"^7.12.13","@babel/plugin-proposal-optional-chaining":"^7.12.13","@babel/plugin-transform-modules-commonjs":"^7.12.13","@babel/plugin-transform-runtime":"^7.12.15","@babel/preset-env":"^7.12.13","@babel/preset-typescript":"^7.12.13","@babel/runtime":"^7.12.13","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","babel-plugin-module-resolver":"^4.1.0","eslint":"^7.19.0","eslint-plugin-promise":"^4.2.1","rollup":"^2.38.5","rollup-plugin-babel":"^4.4.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.3"},"typings":"./dist","gitHead":"280db8bb837cb6fce513fc53d72ddf6436833dd6","_id":"@42px/custom-errors@1.0.3","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-dZZw1SJzj5xWr2u6/YB2UdEOF4p1aeASDbdgq++6HdFDUXCPMSX3qQBAR0u90FeO9MhnmF9S1D+uZxZK6KlsBA==","shasum":"d3b414697d28a485fa98c26393216fd45c813609","tarball":"https://registry.npmjs.org/@42px/custom-errors/-/custom-errors-1.0.3.tgz","fileCount":11,"unpackedSize":10138,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAdvUnSPyq6xsftp+UYYjgzkXSERhXOWeYjuozmUQ9hQAiB7yuxsk7tPFmGwrcAwoPqlFeLk9ZWTftOZJH8wEP3PfA=="}]},"_npmUser":{"name":"42px","email":"office@42px.ru"},"directories":{},"maintainers":[{"name":"42px","email":"office@42px.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-errors_1.0.3_1633427819149_0.6421190940008223"},"_hasShrinkwrap":false},"1.0.4":{"name":"@42px/custom-errors","version":"1.0.4","description":"helpful custom errors","main":"./dist/custom-errors.cjs.js","jsnext:main":"./dist/index.js","module":"./dist/index.js","umd:main":"./dist/custom-errors.umd.js","iife:main":"./dist/custom-errors.iife.js","browser":"./dist/index.js","scripts":{"build":"rollup -c rollup.config.js","lint":"eslint \"./**/*.{js,ts,tsx}\" --fix"},"repository":{"type":"git","url":"git+https://github.com/42-px/custom-errors.git"},"keywords":["errors","typescript"],"bugs":{"url":"https://github.com/42-px/custom-errors/issues"},"homepage":"https://github.com/42-px/custom-errors#readme","author":{"name":"42px"},"license":"ISC","devDependencies":{"@babel/core":"^7.12.13","@babel/plugin-proposal-optional-chaining":"^7.12.13","@babel/plugin-transform-modules-commonjs":"^7.12.13","@babel/plugin-transform-runtime":"^7.12.15","@babel/preset-env":"^7.12.13","@babel/preset-typescript":"^7.12.13","@babel/runtime":"^7.12.13","@typescript-eslint/eslint-plugin":"^4.14.2","@typescript-eslint/parser":"^4.14.2","babel-plugin-module-resolver":"^4.1.0","eslint":"^7.19.0","eslint-plugin-promise":"^4.2.1","rollup":"^2.38.5","rollup-plugin-babel":"^4.4.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.29.0","typescript":"^4.1.3"},"typings":"./dist","gitHead":"3d2faa607e2a20bf55fadb6435d7a49c8b6b28af","_id":"@42px/custom-errors@1.0.4","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-4UzuSECxFHaVdxf6GxYSpYqkz+kb3n+99Rp/rTdeEFXi84zfiqb/DV/lCAPAdCTNDfntvgFqW0Uj6lnW7D90aA==","shasum":"c794e810e2a85a40c2ae60f24b3d7e11bfe4d911","tarball":"https://registry.npmjs.org/@42px/custom-errors/-/custom-errors-1.0.4.tgz","fileCount":11,"unpackedSize":10161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZ6q3fJSH+Sk4yTGAhSmVgfJKR1C+pcPzUe5LCSRqw1wIhAPX6dla2Urkm4S05b7vRCcnsYH5BrMbFqyFmj3u8EN7P"}]},"_npmUser":{"name":"42px","email":"office@42px.ru"},"directories":{},"maintainers":[{"name":"42px","email":"office@42px.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-errors_1.0.4_1633428390122_0.7415907708498164"},"_hasShrinkwrap":false},"1.1.0":{"name":"@42px/custom-errors","version":"1.1.0","description":"helpful custom errors","main":"./dist/custom-errors.cjs.js","jsnext:main":"./dist/index.js","module":"./dist/index.js","umd:main":"./dist/custom-errors.umd.js","iife:main":"./dist/custom-errors.iife.js","browser":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/custom-errors.cjs.js"},"scripts":{"emit-dts":"dts-bundle-generator --project tsconfig.json --out-file ./dist/index.d.ts ./src/index.ts","build:bundle":"rollup -c rollup.config.js","build":"npm run emit-dts && npm run build:bundle","lint":"eslint \"./**/*.{js,ts,tsx}\"","lint:fix":"eslint \"./**/*.{js,ts,tsx}\" --fix"},"repository":{"type":"git","url":"git+https://github.com/42-px/custom-errors.git"},"keywords":["errors","typescript"],"bugs":{"url":"https://github.com/42-px/custom-errors/issues"},"homepage":"https://github.com/42-px/custom-errors#readme","author":{"name":"42px"},"license":"ISC","devDependencies":{"@babel/core":"^7.16.0","@babel/plugin-transform-modules-commonjs":"^7.16.0","@babel/preset-env":"^7.16.4","@babel/preset-typescript":"^7.16.0","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-node-resolve":"^13.0.6","@rollup/plugin-typescript":"^8.3.0","@typescript-eslint/eslint-plugin":"^5.6.0","@typescript-eslint/parser":"^5.6.0","dts-bundle-generator":"^6.2.0","eslint":"^8.4.1","rollup":"^2.61.1","rollup-plugin-terser":"^7.0.2","typescript":"^4.5.3"},"typings":"./dist","gitHead":"fa0e5fafa0eb286a10a92528706f79f30812b81e","_id":"@42px/custom-errors@1.1.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.4","dist":{"integrity":"sha512-fbdOyU5pgNJV/1qLLrmX3MTfU7gZZeEFMbZNTT7pPvPEPLc069LOVcaPnlVJJRHYB4NJgGLdYCykrEYPRWRbyA==","shasum":"643b13c9aaabfa844075c8fb825a8cb0235d8ee1","tarball":"https://registry.npmjs.org/@42px/custom-errors/-/custom-errors-1.1.0.tgz","fileCount":11,"unpackedSize":10159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhtklMCRA9TVsSAnZWagAAjugP/13VS6Ha5rESgunI53gM\nXR2RZsG7ORyz2n9WwRNpMG5oHlSm+kD1bx42q5mCCtGyykEt6hKK2Dq9OmEJ\ngv6Geo2jPWcaHRj++nGwsnBQ/OMzZcQuOu6sBSiu6IO+Z1P4qBjugJhOWqp1\nrlojZnCiGh2EO5/k3q8HrhsRBII234SBe+46XjyT9esGJv7jUjJ39Ci6zUql\nQGUvdlk2gAav9ExlcR3zqj5U1gSfBsaenft7AYXQEgJ5ZyOhQh3RP2T2z1y+\nQYkfOh2JTs9PgFJdPeteyYQr/pI/fOsoLP3lGrC0OYAy4HI1OAapc4aChPz7\nEDVmFSNJeH04iX+Fw4ce4qdSYoiVLpR6xcZFYnUgTBIOz4Ymw5/s/mnRrT1P\nIIKoAIwuWsZMRVFS1/ttvPm2L+8su/zWV94fyQ4OllyY8ZeLs4dVgPnzFQ1e\nBgUoN5ooVFLO2wdeAwb3os+ZcOHJdFanImipBEB5qyZNHmpqqc8FK5mUDjqb\nh3bTD5/vzkMlAmHb+316RqC2O/zoyrK+9OSMMCXy9wTTGqkL4jB+pZHjHOrO\ngh5OHwKcdibNK6l2PVhs7BFMbhYdg5y1cwNhYikKdt6u1M9IBIHRSmUNLzLk\nMj2RXs7CdDM3d6GQEJCIu/RYDhIZGqpb7Ck4gWUCJz7GUFLZUfL5inXrVjTP\nvIT2\r\n=S1Xd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFSgoZutmIP8ybjEJLqUMEwGeGxYSBGC6OB+V2XsqfK1AiBIwDxPgYIF9yidlmD6qsDVimamoRI1U+Gnj+EDvAn8RA=="}]},"_npmUser":{"name":"42px","email":"office@42px.ru"},"directories":{},"maintainers":[{"name":"42px","email":"office@42px.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-errors_1.1.0_1639336268581_0.6540203952731887"},"_hasShrinkwrap":false},"1.4.0":{"name":"@42px/custom-errors","version":"1.4.0","description":"helpful custom errors","main":"./dist/custom-errors.cjs.js","jsnext:main":"./dist/index.js","module":"./dist/index.js","umd:main":"./dist/custom-errors.umd.js","iife:main":"./dist/custom-errors.iife.js","browser":"./dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/custom-errors.cjs.js"},"scripts":{"emit-dts":"dts-bundle-generator --project tsconfig.json --out-file ./dist/index.d.ts ./src/index.ts","build:bundle":"rollup -c rollup.config.js","build":"npm run emit-dts && npm run build:bundle","lint":"eslint \"./**/*.{js,ts,tsx}\"","lint:fix":"eslint \"./**/*.{js,ts,tsx}\" --fix"},"repository":{"type":"git","url":"git+https://github.com/42-px/custom-errors.git"},"keywords":["errors","typescript"],"bugs":{"url":"https://github.com/42-px/custom-errors/issues"},"homepage":"https://github.com/42-px/custom-errors#readme","author":{"name":"42px"},"license":"ISC","devDependencies":{"@babel/core":"^7.16.0","@babel/plugin-transform-modules-commonjs":"^7.16.0","@babel/preset-env":"^7.16.4","@babel/preset-typescript":"^7.16.0","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-node-resolve":"^13.0.6","@rollup/plugin-typescript":"^8.3.0","@typescript-eslint/eslint-plugin":"^5.6.0","@typescript-eslint/parser":"^5.6.0","dts-bundle-generator":"^6.2.0","eslint":"^8.4.1","rollup":"^2.61.1","rollup-plugin-terser":"^7.0.2","typescript":"^4.5.3"},"typings":"./dist","gitHead":"9bcf502243e6649e7f5f5a7cb8079a13b04656c1","_id":"@42px/custom-errors@1.4.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.4","dist":{"integrity":"sha512-LuvDV4gZ3NgB2A1EmdX58JDmo3sjpHHvwjjjC6qcjY1YTay5S4VQQs35oPnLlKWwNB7cewVlLZc9JYt004slCg==","shasum":"a727db75415efbc9a0a5811565406e442dc5cae7","tarball":"https://registry.npmjs.org/@42px/custom-errors/-/custom-errors-1.4.0.tgz","fileCount":11,"unpackedSize":10159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE5I5ZJqtT4yfjaNNv5NmvIk6yqQX3w1ly6LFje5VMqhAiAa1i2Eq3Fg9KJWImv52PJzlBt6HoU8BIAeXdZunvvM7g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0HtkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrM6Q//WRau18rrddHREmPN1eU+8b7H4XBPkd95jjge6/6MmENbPAfd\r\nHjy5mQ/tIbI2nAQq/QjG66rM/cc6GlKZHrbcQW6qNNwifqd4GOwu6Z7Wu4/9\r\ndgtM6cw9OHGm1Wwr/p3Ne9QQuBxVbqfHHFWoAORPGGjB2m/9L3nKbcdR9ej6\r\nX1RiCWnSOAq0twPirgA+CPV+/+eY0xUzfNgGpnAbzWPSjWVDOWtqvdPEogfY\r\n/MIXgDyFCeL2h4LLuZlqk1U9Sffgty31LacCnCHbJAmYdtg6JfPwNIPurVaM\r\nruN27XZUwkdlccmMTMIdBnjFVWjIuLx5E21kAtEHuV3WV9TyakiTxSB7JucR\r\ny+nNG8W1fJnYoDd06id/AkH+g7MGoJKsRBdsFqfsA9QxnDtMOLoGTZul41ZW\r\nmHb3B592uyr9XyPOpjeFic6Bb02aRFLNyatjnUL3ZAYwiiD48cMnTiiz8jMY\r\nFoLzWSv/0VeLldkZuTnxsbR7tjdByhBWEnKhhkuDKnW73vMevsN9i8ptqHEf\r\n9BH/qJNly9Y6Fr+SYUSvI8Cm7baxvUMFQzMXqL01RmUtLNn/W1+Y3WhFFEMh\r\nNw809i+CNuKRkXT0CUqIfW3fQptFHCPIX4f+BkqbMxXo6NpoLUCTMeUOF+DX\r\nqWIC8uJvwo4OIJlY31Y+sjWvdS0L1tLlHFQ=\r\n=jfvk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"42px","email":"office@42px.ru"},"directories":{},"maintainers":[{"name":"42px","email":"office@42px.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-errors_1.4.0_1657830244737_0.8689311074216537"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-08T11:44:50.344Z","1.0.0":"2021-02-08T11:44:50.494Z","modified":"2022-07-14T20:24:04.998Z","1.0.1":"2021-02-09T06:32:51.263Z","1.0.2":"2021-02-09T08:45:04.643Z","1.0.3":"2021-10-05T09:56:59.305Z","1.0.4":"2021-10-05T10:06:30.274Z","1.1.0":"2021-12-12T19:11:08.739Z","1.4.0":"2022-07-14T20:24:04.917Z"},"maintainers":[{"name":"42px","email":"office@42px.ru"}],"description":"helpful custom errors","homepage":"https://github.com/42-px/custom-errors#readme","keywords":["errors","typescript"],"repository":{"type":"git","url":"git+https://github.com/42-px/custom-errors.git"},"author":{"name":"42px"},"bugs":{"url":"https://github.com/42-px/custom-errors/issues"},"license":"ISC","readme":"# Custom errors\n\nSmall util for convenient error handling.\n\n## Installation\n\n```sh\nnpm install @42px/custom-errors\n```\n\n## Usage\n\n\n```js\nimport { createCustomError } from '@42px/custom-errors'\nimport { findRoom, doRoomStuff, showError } from 'rooms'\n\nconst RoomNotFound = createCustomError('RoomNotFound')\n\nasync function findAndProceed(id) {\n    const room = await findRoom(id)\n    if (!room) {\n      throw new RoomNotFound()\n    }\n    doRoomStuff(room)\n}\n\nfindAndProceed(1)\n    .catch((err) => {\n        if(err.name === 'RoomNotFound') showError('Sorry, room not found')\n    })\n\n```\n","readmeFilename":"README.md"}