{"_id":"wrap-error-message","_rev":"6-a60b37d845d6f20dd9e1e967eb41cfb2","name":"wrap-error-message","dist-tags":{"latest":"3.0.1"},"versions":{"0.0.1":{"name":"wrap-error-message","version":"0.0.1","keywords":["browser","code-quality","error","error-classes","error-handler","error-handling","error-monitoring","error-reporting","errors","exceptions","javascript","library","message","messages","monitoring","nodejs","stack","stacktrace","stacktraces","typescript"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"MIT","_id":"wrap-error-message@0.0.1","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/wrap-error-message","bugs":{"url":"https://github.com/ehmicky/wrap-error-message/issues"},"dist":{"shasum":"7e7a21025bce6fb6b6016c4592eb131a83867837","tarball":"https://registry.npmjs.org/wrap-error-message/-/wrap-error-message-0.0.1.tgz","fileCount":5,"integrity":"sha512-U7PEb0SWdQP533M7K1n/1q7CJObIFTaisSet6MeeSliYrud8YiQrdQuqE6j2CTm01RtUw8mIKuk1XgUaIPgI/Q==","signatures":[{"sig":"MEUCIQCmI5odIAnyYKxzb13vMGNvgconp+vx8P5eHJE51SSFrwIgM3xL6xY1W9pToZSGvUnzHgUI792KO8R9ZOL7K6WzoUY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfBBvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmobeQ/+Mkf2I8+k4boEe65tiBX8XuLeiXVshaMtDFcxTEa/o2lRZt1j\r\n+y00gqaKoELfwN+qHFG6ghRYFyR4WDBFXDR+3QlwvDjv6CBgT6PxuqMI9xy+\r\nlb6u2d+635FP2szsKg+DQZZQ/pOGGYGYeLrMjPs6X5Gs2+43jdhIVbMJF78g\r\nVMf119MlDRtGinxf03MLmQuJ949VzbQc5cPyfQbcj0XgJQZpMdwoZv5O9mnm\r\nfFA/+L0909UO9eu1HyOgsKtmYyyyTWt9HHZ2xayd2plEo3jvm9TPFAZYcgUF\r\n3sIcj2KZlzxJrDUFaDDPg99IuF+NRCW+FBmuBuYxnSs5gSANdvs0nLIPp70Y\r\nep6Ya5ZSCHVEapssj01vAEF+QBVT8OK33pz9oXZJD4Cwtrq9Ju/rol9tgMiT\r\n61wP1kAC73nX8VVjdoWV0RjmBWVrPKMpInodx7DZ2t4V9kIGQB3pN5eVXSQ0\r\nduWiV13IsbDYUngHj+bBS8M56O5pX7GGvDGtn6lBQWEx6UZJN8B1vehHrUqZ\r\ngWl7HST3iY39TpWKs5J/j45HAhE/zxxpuMAcMm7QUbJaTS2P2lQEIzVVumhk\r\nd5EE/QPu4TU2jPyYtq7zmDr/KQPSoDA7kAOOUiK70nXRtA5dHzC5+VCY6MND\r\ndziiHF47evxWzurs4JZ9GOl/YkP6jHFyFm0=\r\n=bLYi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/src/main.js","type":"module","types":"./build/types/main.d.ts","engines":{"node":">=14.18.0"},"exports":{"types":"./build/types/main.d.ts","default":"./build/src/main.js"},"gitHead":"30bb95a5c4df166df9dae08899fb9c8b527afee1","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/wrap-error-message.git","type":"git"},"_npmVersion":"9.1.2","description":"Properly wrap an error's message","directories":{"lib":"src","test":"test"},"sideEffects":false,"_nodeVersion":"19.1.0","dependencies":{"set-error-message":"^1.6.0","normalize-exception":"^2.11.0"},"_hasShrinkwrap":false,"devDependencies":{"test-each":"^5.6.0","@ehmicky/dev-tasks":"^1.0.102"},"_npmOperationalInternal":{"tmp":"tmp/wrap-error-message_0.0.1_1669075055518_0.33451911569950754","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"wrap-error-message","version":"1.0.0","keywords":["browser","code-quality","error","error-classes","error-handler","error-handling","error-monitoring","error-reporting","errors","exceptions","javascript","library","message","messages","monitoring","nodejs","stack","stacktrace","stacktraces","typescript"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"MIT","_id":"wrap-error-message@1.0.0","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/wrap-error-message","bugs":{"url":"https://github.com/ehmicky/wrap-error-message/issues"},"dist":{"shasum":"9d039361b0e0f62f6dafed62a1e3b58f0ed9fe7f","tarball":"https://registry.npmjs.org/wrap-error-message/-/wrap-error-message-1.0.0.tgz","fileCount":5,"integrity":"sha512-axCHQQYrkUaKPCj+BP0emCB++Lzq8Fa1Vba3qPeDbdKyfvypjX6i10KaAoLcRt6Mq0M9peONc6GEzM/XqXNniw==","signatures":[{"sig":"MEUCIEhT2+JooZsrWlBGe0E8MSgwu8gt1YPZsau/4Sv46XBqAiEAtZF0XbiC5p76KIYtyv9Bx1jn45lo/ucDzCmvp9pBeZE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfBCBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpwRQ/8CGWTlLrKXuBtlYi4AVmsBTmQ9SZuDbfGBj0Q/BKnYMuGNr66\r\nfeJ2uy3k18teHxzE76FaVc/IOUhEiNezhm3ItTaZrsrLyqLPTnNU+CKEmqfO\r\nRMBEyfkIA6AGHDF9cmWdR69m4BTES9VqLmRPO/ZyBlN209edU3ekxfNSrAon\r\nHiouAD0mubLMhtrFfS0+4CumP1Q8olvn4eREzOa17cWhWEZKOZ2gbJKQkSqW\r\nzutEFgRXkYnDncxXqdayingOszLoAmXDux1y1ceQof+COx9qPWFJYvx+ryjz\r\n+6IPhLLR4gxtTCik+uBT4oZPj3cxYn0hxYuDf75ltPQQEv2UGDNwmPirpttE\r\nfxZgM6NTnGUi0SIPuxMXa5iYuT3GbxVjZz3SV3fLCq71j44dthLX8YJXbOBc\r\nFHGrvcIz6UcTG8jT4q/BvADSPWDVizFPa/XjpS/l7W9lPJk+biASoJXjx+Ws\r\nB3TX6wZJTL5gap0XNeVuf1KeIwsqC4fukGY1FAuHhcJFM+A/2LKntg3erwKI\r\n4SDZfiKjILvhFFhmKHsRI9kHCewC5xG5K8o6XkG9pMxx5XARHatRfxGJ4k6s\r\nJr0eKdGqibPTQiuR6enn6ulzpqgebWF7IIh6y7IbcoMcunhwjzQCDOitEQ7V\r\n2GJCSZvB+jDt/u8yu+xMqYFWQRfdrhzemCU=\r\n=7gFb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/src/main.js","type":"module","types":"./build/types/main.d.ts","engines":{"node":">=14.18.0"},"exports":{"types":"./build/types/main.d.ts","default":"./build/src/main.js"},"gitHead":"273e6233b36ca1932ffea07a47c379bd0462d22a","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/wrap-error-message.git","type":"git"},"_npmVersion":"9.1.2","description":"Properly wrap an error's message","directories":{"lib":"src","test":"test"},"sideEffects":false,"_nodeVersion":"19.1.0","dependencies":{"set-error-message":"^1.6.0","normalize-exception":"^2.11.0"},"_hasShrinkwrap":false,"devDependencies":{"test-each":"^5.6.0","@ehmicky/dev-tasks":"^1.0.102"},"_npmOperationalInternal":{"tmp":"tmp/wrap-error-message_1.0.0_1669075072948_0.7895627879547229","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"wrap-error-message","version":"2.0.0","keywords":["browser","code-quality","error","error-classes","error-handler","error-handling","error-monitoring","error-reporting","errors","exceptions","javascript","library","message","messages","monitoring","nodejs","stack","stacktrace","stacktraces","typescript"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"MIT","_id":"wrap-error-message@2.0.0","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/wrap-error-message","bugs":{"url":"https://github.com/ehmicky/wrap-error-message/issues"},"dist":{"shasum":"8569f4a190552345f1ee7de2dd2b288c9d143e72","tarball":"https://registry.npmjs.org/wrap-error-message/-/wrap-error-message-2.0.0.tgz","fileCount":5,"integrity":"sha512-mdprLXMOe3c2UX+L3zaFr0EXIGfJTn2qlKVmj8vIcXLGCvyMHVDJB6SCtQg2XAY4wy/fiwxjoyt0unVQDKFd/g==","signatures":[{"sig":"MEQCIBT3/lO9QoAPfFmnX8FXhn9Iw2UNnvVzsZPWcmLLR0ljAiAS2T1psgW/5STa8kP8wHefLvpi+cTWDCw52/SarexSAg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10973},"main":"./build/src/main.js","type":"module","types":"./build/src/main.d.ts","engines":{"node":">=16.17.0"},"exports":{"types":"./build/src/main.d.ts","default":"./build/src/main.js"},"gitHead":"bba5e5b38c43285ea58a86a46b7417b140a5d770","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/wrap-error-message.git","type":"git"},"_npmVersion":"9.6.6","description":"Properly wrap an error's message","directories":{"lib":"src"},"sideEffects":false,"_nodeVersion":"20.1.0","dependencies":{"set-error-message":"^2.0.0","normalize-exception":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"test-each":"^6.0.0","@ehmicky/dev-tasks":"^2.0.80"},"_npmOperationalInternal":{"tmp":"tmp/wrap-error-message_2.0.0_1684022151436_0.6190223644637225","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"wrap-error-message","version":"2.0.1","keywords":["browser","code-quality","error","error-classes","error-handler","error-handling","error-monitoring","error-reporting","errors","exceptions","javascript","library","message","messages","monitoring","nodejs","stack","stacktrace","stacktraces","typescript"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"MIT","_id":"wrap-error-message@2.0.1","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/wrap-error-message","bugs":{"url":"https://github.com/ehmicky/wrap-error-message/issues"},"dist":{"shasum":"07809f302d9ad36ca93c20999bdbf63effb80d97","tarball":"https://registry.npmjs.org/wrap-error-message/-/wrap-error-message-2.0.1.tgz","fileCount":5,"integrity":"sha512-LrBMsWJ85HKjLs5ABjhZeW7mWpwsAoV16iqmhEXUf4Y2GvdLwrqK4FPGNNoAi7a20wy4wHU2ci61wQfcOgz/Kw==","signatures":[{"sig":"MEQCIF87k6+OcXiSJGbmcyzyM4mji2cvWVzr6pf8OaIwWkVjAiAqujGrOjUI4wLrTOenkaQZzb+a0dYDOz7dW9mNk2rW7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10973},"main":"./build/src/main.js","type":"module","types":"./build/src/main.d.ts","engines":{"node":">=16.17.0"},"exports":{"types":"./build/src/main.d.ts","default":"./build/src/main.js"},"gitHead":"8b5f831872a89488ff5da30112d9a156818a52d7","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/wrap-error-message.git","type":"git"},"_npmVersion":"9.6.6","description":"Properly wrap an error's message","directories":{"lib":"src"},"sideEffects":false,"_nodeVersion":"20.1.0","dependencies":{"set-error-message":"^2.0.1","normalize-exception":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"test-each":"^6.0.1","@ehmicky/dev-tasks":"^2.0.80"},"_npmOperationalInternal":{"tmp":"tmp/wrap-error-message_2.0.1_1684023904412_0.7219527740519802","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"wrap-error-message","version":"3.0.0","keywords":["browser","code-quality","error","error-classes","error-handler","error-handling","error-monitoring","error-reporting","errors","exceptions","javascript","library","message","messages","monitoring","nodejs","stack","stacktrace","stacktraces","typescript"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"MIT","_id":"wrap-error-message@3.0.0","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"homepage":"https://www.github.com/ehmicky/wrap-error-message","bugs":{"url":"https://github.com/ehmicky/wrap-error-message/issues"},"dist":{"shasum":"d2551347814087770a011289c71a2f330aae1422","tarball":"https://registry.npmjs.org/wrap-error-message/-/wrap-error-message-3.0.0.tgz","fileCount":5,"integrity":"sha512-QoePG1A6p9t6kY6RjOucIJvItmJfViuDs9C84TifNr8zN2oFmeky8SQ3OkUAY7vfefPPB7TUtKbiXjsV29EhLw==","signatures":[{"sig":"MEQCIH6sIUVWgVOy3gQ0SqUrQaV/PlUkpZ34c6TbGPmuRK6aAiAQntUoUbS7xiClxrHxj7hyOvYfMcnIaSfsXArXPVcf1w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11080},"main":"./build/src/main.js","type":"module","types":"./build/src/main.d.ts","engines":{"node":">=18.18.0"},"exports":{"types":"./build/src/main.d.ts","default":"./build/src/main.js"},"gitHead":"d7eccedfc7450097a620845474e87546d0a64775","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/wrap-error-message.git","type":"git"},"_npmVersion":"10.2.1","description":"Properly wrap an error's message","directories":{"lib":"src"},"sideEffects":false,"_nodeVersion":"21.1.0","dependencies":{"set-error-message":"^3.0.0","normalize-exception":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"test-each":"^7.0.0","@ehmicky/dev-tasks":"^2.0.102"},"_npmOperationalInternal":{"tmp":"tmp/wrap-error-message_3.0.0_1698531943339_0.9706378968842071","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"wrap-error-message","version":"3.0.1","type":"module","exports":{"types":"./build/src/main.d.ts","default":"./build/src/main.js"},"main":"./build/src/main.js","types":"./build/src/main.d.ts","sideEffects":false,"scripts":{"test":"gulp test"},"description":"Properly wrap an error's message","keywords":["browser","code-quality","error","error-classes","error-handler","error-handling","error-monitoring","error-reporting","errors","exceptions","javascript","library","message","messages","monitoring","nodejs","stack","stacktrace","stacktraces","typescript"],"license":"MIT","homepage":"https://www.github.com/ehmicky/wrap-error-message","repository":{"type":"git","url":"git+https://github.com/ehmicky/wrap-error-message.git"},"bugs":{"url":"https://github.com/ehmicky/wrap-error-message/issues"},"author":{"name":"ehmicky","email":"ehmicky@gmail.com","url":"https://github.com/ehmicky"},"directories":{"lib":"src"},"dependencies":{"normalize-exception":"^4.0.1","set-error-message":"^3.0.1"},"devDependencies":{"@ehmicky/dev-tasks":"^3.0.33","@ehmicky/eslint-config":"^20.0.31","@ehmicky/prettier-config":"^1.0.6","test-each":"^7.0.1"},"engines":{"node":">=18.18.0"},"_id":"wrap-error-message@3.0.1","gitHead":"43d692d1001254b1a00cf681877312a095d8e470","_nodeVersion":"23.10.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-TjLYwoDEMdPs0h6LfPukMZn2R7tmywbWyRETDosqsE1Gs0mayuSiDQm1MzeDPc8VMTvS4yhLPgICkSXvTeo9ng==","shasum":"98c1fde45adeaa272e213e1e463f316bbfbe4778","tarball":"https://registry.npmjs.org/wrap-error-message/-/wrap-error-message-3.0.1.tgz","fileCount":5,"unpackedSize":10752,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAN/ywdZ/KgamAJZbLU7AfiVZ6Pcr6N54B9MilPZ9Q1hAiEAh/rvIpAVHW5Dp6VL0sS5S6oRCcK9mZ2spkXrrF2SmIo="}]},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wrap-error-message_3.0.1_1743217847507_0.40226395508490387"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-21T23:57:35.412Z","modified":"2025-03-29T03:10:47.882Z","0.0.1":"2022-11-21T23:57:35.708Z","1.0.0":"2022-11-21T23:57:53.098Z","2.0.0":"2023-05-13T23:55:51.580Z","2.0.1":"2023-05-14T00:25:04.593Z","3.0.0":"2023-10-28T22:25:43.558Z","3.0.1":"2025-03-29T03:10:47.700Z"},"bugs":{"url":"https://github.com/ehmicky/wrap-error-message/issues"},"author":{"name":"ehmicky","email":"ehmicky@gmail.com","url":"https://github.com/ehmicky"},"license":"MIT","homepage":"https://www.github.com/ehmicky/wrap-error-message","keywords":["browser","code-quality","error","error-classes","error-handler","error-handling","error-monitoring","error-reporting","errors","exceptions","javascript","library","message","messages","monitoring","nodejs","stack","stacktrace","stacktraces","typescript"],"repository":{"type":"git","url":"git+https://github.com/ehmicky/wrap-error-message.git"},"description":"Properly wrap an error's message","maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"readme":"[![Node](https://img.shields.io/badge/-Node.js-808080?logo=node.js&colorA=404040&logoColor=66cc33)](https://www.npmjs.com/package/wrap-error-message)\n[![Browsers](https://img.shields.io/badge/-Browsers-808080?logo=firefox&colorA=404040)](https://unpkg.com/wrap-error-message?module)\n[![TypeScript](https://img.shields.io/badge/-Typed-808080?logo=typescript&colorA=404040&logoColor=0096ff)](/src/main.d.ts)\n[![Codecov](https://img.shields.io/badge/-Tested%20100%25-808080?logo=codecov&colorA=404040)](https://codecov.io/gh/ehmicky/wrap-error-message)\n[![Minified size](https://img.shields.io/bundlephobia/minzip/wrap-error-message?label&colorA=404040&colorB=808080&logo=webpack)](https://bundlephobia.com/package/wrap-error-message)\n[![Mastodon](https://img.shields.io/badge/-Mastodon-808080.svg?logo=mastodon&colorA=404040&logoColor=9590F9)](https://fosstodon.org/@ehmicky)\n[![Medium](https://img.shields.io/badge/-Medium-808080.svg?logo=medium&colorA=404040)](https://medium.com/@ehmicky)\n\nProperly wrap an error's message.\n\n# Features\n\n- Handle\n  [invalid errors](https://github.com/ehmicky/normalize-exception#features)\n- [Update `error.stack`](https://github.com/ehmicky/set-error-message) with the\n  new error message\n- Either append or prepend the new message\n- Trim whitespaces\n\n# Example\n\n```js\nimport wrapErrorMessage from 'wrap-error-message'\n\nwrapErrorMessage(new Error('Message.'), 'Additional message.')\n// Error: Message.\n// Additional message.\n\nwrapErrorMessage(new Error('Message.'), 'Additional message:')\n// Error: Additional message: Message.\n\nwrapErrorMessage(new Error('Message.'), 'Additional message:\\n')\n// Error: Additional message:\n// Message.\n\nwrapErrorMessage(new Error('Message.'), '')\n// Error: Message.\n\nconst invalidError = 'Message.'\nwrapErrorMessage(invalidError, 'Additional message.')\n// Error: Message.\n// Additional message.\n\nwrapErrorMessage(new Error('  Message with spaces  '), '  Additional message  ')\n// Error: Message with spaces\n// Additional message\n```\n\n# Install\n\n```bash\nnpm install wrap-error-message\n```\n\nThis package works in both Node.js >=18.18.0 and\n[browsers](https://raw.githubusercontent.com/ehmicky/dev-tasks/main/src/browserslist).\n\nThis is an ES module. It must be loaded using\n[an `import` or `import()` statement](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c),\nnot `require()`. If TypeScript is used, it must be configured to\n[output ES modules](https://www.typescriptlang.org/docs/handbook/esm-node.html),\nnot CommonJS.\n\n# API\n\n## wrapErrorMessage(error, message)\n\n`error` `Error | any`\\\n`message` `string`\\\n_Return value_: `Error`\n\nAppends `message` to `error.message`. If `message` ends with `:` or `:\\n`,\nprepends it instead.\n\nReturns `error`. If `error` is not an `Error` instance, it is converted to one.\n\n# Related projects\n\n- [`modern-errors`](https://github.com/ehmicky/modern-errors): Handle errors in\n  a simple, stable, consistent way\n- [`error-custom-class`](https://github.com/ehmicky/error-custom-class): Create\n  one error class\n- [`error-class-utils`](https://github.com/ehmicky/error-class-utils): Utilities\n  to properly create error classes\n- [`error-serializer`](https://github.com/ehmicky/error-serializer): Convert\n  errors to/from plain objects\n- [`normalize-exception`](https://github.com/ehmicky/normalize-exception):\n  Normalize exceptions/errors\n- [`is-error-instance`](https://github.com/ehmicky/is-error-instance): Check if\n  a value is an `Error` instance\n- [`merge-error-cause`](https://github.com/ehmicky/merge-error-cause): Merge an\n  error with its `cause`\n- [`set-error-class`](https://github.com/ehmicky/set-error-class): Properly\n  update an error's class\n- [`set-error-message`](https://github.com/ehmicky/set-error-message): Properly\n  update an error's message\n- [`set-error-props`](https://github.com/ehmicky/set-error-props): Properly\n  update an error's properties\n- [`set-error-stack`](https://github.com/ehmicky/set-error-stack): Properly\n  update an error's stack\n- [`error-cause-polyfill`](https://github.com/ehmicky/error-cause-polyfill):\n  Polyfill `error.cause`\n- [`handle-cli-error`](https://github.com/ehmicky/handle-cli-error): 💣 Error\n  handler for CLI applications 💥\n- [`log-process-errors`](https://github.com/ehmicky/log-process-errors): Show\n  some ❤ to Node.js process errors\n- [`error-http-response`](https://github.com/ehmicky/error-http-response):\n  Create HTTP error responses\n- [`winston-error-format`](https://github.com/ehmicky/winston-error-format): Log\n  errors with Winston\n\n# Support\n\nFor any question, _don't hesitate_ to [submit an issue on GitHub](../../issues).\n\nEveryone is welcome regardless of personal background. We enforce a\n[Code of conduct](CODE_OF_CONDUCT.md) in order to promote a positive and\ninclusive environment.\n\n# Contributing\n\nThis project was made with ❤️. The simplest way to give back is by starring and\nsharing it online.\n\nIf the documentation is unclear or has a typo, please click on the page's `Edit`\nbutton (pencil icon) and suggest a correction.\n\nIf you would like to help us fix a bug or add a new feature, please check our\n[guidelines](CONTRIBUTING.md). Pull requests are welcome!\n\n<!-- Thanks go to our wonderful contributors: -->\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore -->\n<!--\n<table><tr><td align=\"center\"><a href=\"https://fosstodon.org/@ehmicky\"><img src=\"https://avatars2.githubusercontent.com/u/8136211?v=4\" width=\"100px;\" alt=\"ehmicky\"/><br /><sub><b>ehmicky</b></sub></a><br /><a href=\"https://github.com/ehmicky/wrap-error-message/commits?author=ehmicky\" title=\"Code\">💻</a> <a href=\"#design-ehmicky\" title=\"Design\">🎨</a> <a href=\"#ideas-ehmicky\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/ehmicky/wrap-error-message/commits?author=ehmicky\" title=\"Documentation\">📖</a></td></tr></table>\n -->\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n","readmeFilename":"README.md"}