{"_id":"@absolutejs/errors-elysia","_rev":"8-3c5542ae87d8578c639a2ee1aecb89da","name":"@absolutejs/errors-elysia","dist-tags":{"latest":"0.3.1"},"versions":{"0.1.0":{"name":"@absolutejs/errors-elysia","version":"0.1.0","keywords":["absolutejs","elysia","errors","observability","middleware","sentry","tracing"],"author":"Alex Kahn","license":"Apache-2.0","_id":"@absolutejs/errors-elysia@0.1.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/errors-elysia","bugs":{"url":"https://github.com/absolutejs/errors-elysia/issues"},"dist":{"shasum":"c8bda431c14963e2c2a0f6107936ce2884fad3f0","tarball":"https://registry.npmjs.org/@absolutejs/errors-elysia/-/errors-elysia-0.1.0.tgz","fileCount":13,"integrity":"sha512-bF94iaSKELx9p/6j87g0fx7dKLwc+7A6Nr7VY+ASrtY6rCuVc7Zn4L/tv/cxpQu3nUUx9jygMdSWjKN+4Yeaaw==","signatures":[{"sig":"MEYCIQCN2QHR+2DleHRdsDfBKjaAmv9IADnGbdjGKiv3TU9g4AIhAMI2QyIgtQGg3dYsM+4GN+RiNiGdA1pVmU4rjfDBvdki","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1111797},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"c8bda431c14963e2c2a0f6107936ce2884fad3f0","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/errors --external elysia && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run build && bun run test"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-bF94iaSKELx9p/6j87g0fx7dKLwc+7A6Nr7VY+ASrtY6rCuVc7Zn4L/tv/cxpQu3nUUx9jygMdSWjKN+4Yeaaw==","absolutejs":{"manifestContract":1},"repository":{"url":"git+https://github.com/absolutejs/errors-elysia.git","type":"git"},"_npmVersion":"10.8.3","description":"Elysia error-boundary integration for @absolutejs/errors with exact-once capture, trace correlation, and safe handled responses.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"elysia":"^1.4.28","prettier":"^3.8.3","@types/bun":"1.3.14","typescript":"^5.9.3","@absolutejs/errors":"^0.3.6"},"peerDependencies":{"elysia":">=1.4.0","@absolutejs/errors":">=0.3.6"},"_npmOperationalInternal":{"tmp":"tmp/errors-elysia_0.1.0_1784804806582_0.5751032950168173","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @absolutejs/errors/elysia. Install @absolutejs/errors and use errorsPlugin."},"0.1.1":{"name":"@absolutejs/errors-elysia","version":"0.1.1","keywords":["absolutejs","elysia","errors","observability","middleware","sentry","tracing"],"author":"Alex Kahn","license":"Apache-2.0","_id":"@absolutejs/errors-elysia@0.1.1","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/errors-elysia","bugs":{"url":"https://github.com/absolutejs/errors-elysia/issues"},"dist":{"shasum":"47c17bb82ec10f18e695fee35a6a18f10e4cd4f1","tarball":"https://registry.npmjs.org/@absolutejs/errors-elysia/-/errors-elysia-0.1.1.tgz","fileCount":13,"integrity":"sha512-nwBW5zFgwy5cH8UGDTZvZQM0CaPnzF7ef314bzydMZqZ3+BPIoWe5cCZUzZj+rW79c7YqEu5ivZt2ioOjtxeww==","signatures":[{"sig":"MEYCIQCg+M33y+lts0Xyj+W7tC4FVHGtykAf5E1owu6pC7DyngIhAJHPvDjAiAXMrtdd++pgmTQgYAJ8xGG1/6SUh+2oDGhG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1112123},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"47c17bb82ec10f18e695fee35a6a18f10e4cd4f1","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/errors --external elysia && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run build && bun run test"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-nwBW5zFgwy5cH8UGDTZvZQM0CaPnzF7ef314bzydMZqZ3+BPIoWe5cCZUzZj+rW79c7YqEu5ivZt2ioOjtxeww==","absolutejs":{"manifestContract":1},"repository":{"url":"git+https://github.com/absolutejs/errors-elysia.git","type":"git"},"_npmVersion":"10.8.3","description":"Elysia error-boundary integration for @absolutejs/errors with exact-once capture, trace correlation, and safe handled responses.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"elysia":"^1.4.28","prettier":"^3.8.3","@types/bun":"1.3.14","typescript":"^5.9.3","@absolutejs/errors":"^0.3.6"},"peerDependencies":{"elysia":">=1.4.0","@absolutejs/errors":">=0.3.6"},"_npmOperationalInternal":{"tmp":"tmp/errors-elysia_0.1.1_1784804908384_0.7382429972484184","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @absolutejs/errors/elysia. Install @absolutejs/errors and use errorsPlugin."},"0.1.2":{"name":"@absolutejs/errors-elysia","version":"0.1.2","keywords":["absolutejs","elysia","errors","observability","middleware","sentry","tracing"],"author":"Alex Kahn","license":"Apache-2.0","_id":"@absolutejs/errors-elysia@0.1.2","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/errors-elysia","bugs":{"url":"https://github.com/absolutejs/errors-elysia/issues"},"dist":{"shasum":"99bc3f15fc40a016113b7284643525422caec487","tarball":"https://registry.npmjs.org/@absolutejs/errors-elysia/-/errors-elysia-0.1.2.tgz","fileCount":13,"integrity":"sha512-VEafPJqvoy74g1pccX/uoBauBFsg9RiHQ06JxnVAZK2ZqteirgumOd9/OuNSMxt2WwNov1ia/sAa5/B0XVr3KA==","signatures":[{"sig":"MEYCIQCkBvj0Cr5/phfLN5K9IfZtDyLfp4z9WxhaxMFi5qAR3AIhAJRBfO3lOgirj9jcERNMs4G358Vk1ltjjQ6i9nKXxVm6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1122902},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"99bc3f15fc40a016113b7284643525422caec487","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/errors --external elysia && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run build && bun run test"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-VEafPJqvoy74g1pccX/uoBauBFsg9RiHQ06JxnVAZK2ZqteirgumOd9/OuNSMxt2WwNov1ia/sAa5/B0XVr3KA==","absolutejs":{"manifestContract":1},"repository":{"url":"git+https://github.com/absolutejs/errors-elysia.git","type":"git"},"_npmVersion":"10.8.3","description":"Elysia error-boundary integration for @absolutejs/errors with exact-once capture, trace correlation, and safe handled responses.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"elysia":"^1.4.28","prettier":"^3.8.3","@types/bun":"1.3.14","typescript":"^5.9.3","@absolutejs/errors":"^0.3.6"},"peerDependencies":{"elysia":">=1.4.0","@absolutejs/errors":">=0.3.6"},"_npmOperationalInternal":{"tmp":"tmp/errors-elysia_0.1.2_1784805314007_0.734924319839589","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @absolutejs/errors/elysia. Install @absolutejs/errors and use errorsPlugin."},"0.2.0":{"name":"@absolutejs/errors-elysia","version":"0.2.0","keywords":["absolutejs","elysia","errors","observability","middleware","sentry","tracing"],"author":"Alex Kahn","license":"Apache-2.0","_id":"@absolutejs/errors-elysia@0.2.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/errors-elysia","bugs":{"url":"https://github.com/absolutejs/errors-elysia/issues"},"dist":{"shasum":"c094dc877a35978fd4fb4d43e7011abd075d84ba","tarball":"https://registry.npmjs.org/@absolutejs/errors-elysia/-/errors-elysia-0.2.0.tgz","fileCount":13,"integrity":"sha512-+gPecJ1UtVz4dQh3yzS/bKnLSIqYbGZWGLolnFJHNY3uUe53sF8e1p+cVKJibekLSxKWoFjdW+Wy7QMYxdiLCA==","signatures":[{"sig":"MEYCIQCG2xqU1fduWfZkSyAPSbgWUL+nQVz2UAbI+kU2J6rIbwIhAJtCJ1z8+GPBYzODgdn/3+c1UhCJ1fvBc9xJ0XWW//S4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1151713},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"c094dc877a35978fd4fb4d43e7011abd075d84ba","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/errors --external elysia && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run build && bun run test"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-+gPecJ1UtVz4dQh3yzS/bKnLSIqYbGZWGLolnFJHNY3uUe53sF8e1p+cVKJibekLSxKWoFjdW+Wy7QMYxdiLCA==","absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/errors-elysia.git","type":"git"},"_npmVersion":"10.8.3","description":"Elysia error-boundary integration for @absolutejs/errors with exact-once capture, trace correlation, and safe handled responses.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"elysia":"^1.4.29","prettier":"^3.8.3","@types/bun":"1.3.14","typescript":"^5.9.3","@absolutejs/errors":"^0.4.0"},"peerDependencies":{"effect":"^3.21.0","elysia":">=1.4.0","@absolutejs/errors":">=0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/errors-elysia_0.2.0_1784851898892_0.8007979335178466","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @absolutejs/errors/elysia. Install @absolutejs/errors and use errorsPlugin."},"0.2.1":{"name":"@absolutejs/errors-elysia","version":"0.2.1","keywords":["absolutejs","elysia","errors","observability","middleware","sentry","tracing"],"author":"Alex Kahn","license":"Apache-2.0","_id":"@absolutejs/errors-elysia@0.2.1","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/errors-elysia","bugs":{"url":"https://github.com/absolutejs/errors-elysia/issues"},"dist":{"shasum":"123dd1a535a716759077cc6043508fd57d07c352","tarball":"https://registry.npmjs.org/@absolutejs/errors-elysia/-/errors-elysia-0.2.1.tgz","fileCount":13,"integrity":"sha512-b0k/iSn29v+qKo0uTuFB1sYl03bgtCJh5moyLwlSdBsyHXroH6DVaff2hXyhPKG114qCbH+fUKnVzRHBEzasIQ==","signatures":[{"sig":"MEQCIFwmtpvsDIgEcrnzc7gk97ts5A4Dl2wo3wuykrW2tKZmAiB9u6TOmcpIrxNxXtpLyzXQaYS7R+j+Tp9RnLHd/GnF6g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1151984},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"123dd1a535a716759077cc6043508fd57d07c352","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/errors --external elysia && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run build && bun run test"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-b0k/iSn29v+qKo0uTuFB1sYl03bgtCJh5moyLwlSdBsyHXroH6DVaff2hXyhPKG114qCbH+fUKnVzRHBEzasIQ==","absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/errors-elysia.git","type":"git"},"_npmVersion":"10.8.3","description":"Elysia error-boundary integration for @absolutejs/errors with exact-once capture, trace correlation, and safe handled responses.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"elysia":"^1.4.29","prettier":"^3.8.3","@types/bun":"1.3.14","typescript":"^5.9.3","@absolutejs/errors":"^0.4.0"},"peerDependencies":{"effect":"^3.21.0","elysia":">=1.4.0","@absolutejs/errors":">=0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/errors-elysia_0.2.1_1784852600113_0.590418878740969","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @absolutejs/errors/elysia. Install @absolutejs/errors and use errorsPlugin."},"0.3.0":{"name":"@absolutejs/errors-elysia","version":"0.3.0","keywords":["absolutejs","elysia","errors","observability","middleware","sentry","tracing"],"author":"Alex Kahn","license":"Apache-2.0","_id":"@absolutejs/errors-elysia@0.3.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/errors-elysia","bugs":{"url":"https://github.com/absolutejs/errors-elysia/issues"},"dist":{"shasum":"4c88cc851430e6b3ab0bee2504c644120fa9b67b","tarball":"https://registry.npmjs.org/@absolutejs/errors-elysia/-/errors-elysia-0.3.0.tgz","fileCount":13,"integrity":"sha512-APnk54u+eMUYshlwufWaOCS9cRJyjiJHYm6MwuofTFGN6BxBvd17Rl71LsSm8CjmN9T36nq+NTeo1TJHyEFs3g==","signatures":[{"sig":"MEUCIQCsao1D8rTPaLthbYbQIRZJ7vVxZTxbl0fNNR++9z582QIgDyM5PepR2CIhEawfIYrXn1HKJD4aFzioiqqlIK+ziKg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":494455},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"4c88cc851430e6b3ab0bee2504c644120fa9b67b","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/errors --external elysia && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run build && bun run test"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-APnk54u+eMUYshlwufWaOCS9cRJyjiJHYm6MwuofTFGN6BxBvd17Rl71LsSm8CjmN9T36nq+NTeo1TJHyEFs3g==","absolutejs":{"runtimePeers":{"elysia":{"range":">=1.4.29 <2","tested":"1.4.29","buildExternals":["elysia"],"artifactImports":["elysia"]}},"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/errors-elysia.git","type":"git"},"_npmVersion":"10.8.3","description":"Elysia error-boundary integration for @absolutejs/errors with exact-once capture, trace correlation, and safe handled responses.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"0.7.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"elysia":"1.4.29","prettier":"^3.8.3","@types/bun":"1.3.14","typescript":"^5.9.3","@absolutejs/errors":"0.6.0"},"peerDependencies":{"elysia":">=1.4.29 <2"},"_npmOperationalInternal":{"tmp":"tmp/errors-elysia_0.3.0_1784914261957_0.6359945066035195","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @absolutejs/errors/elysia. Install @absolutejs/errors and use errorsPlugin."},"0.3.1":{"name":"@absolutejs/errors-elysia","version":"0.3.1","keywords":["absolutejs","elysia","errors","observability","middleware","sentry","tracing"],"author":{"name":"Alex Kahn"},"license":"Apache-2.0","_id":"@absolutejs/errors-elysia@0.3.1","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/errors-elysia","bugs":{"url":"https://github.com/absolutejs/errors-elysia/issues"},"dist":{"shasum":"4d1b552d495b01e1cc2f0851a499d1fd2f44c5bf","tarball":"https://registry.npmjs.org/@absolutejs/errors-elysia/-/errors-elysia-0.3.1.tgz","fileCount":13,"integrity":"sha512-u1g+bO5t0pN9I90NfZ8XcKz7joDd0suhJpCvVj34sLBpiPgG+5XiGhti0mfYYUNtimm+j08QdVsbPNAEXdB+bA==","signatures":[{"sig":"MEQCIAaIoapH22VJrVhzkwlhy0ZiSbkJHPi+Mr13suVjnSPvAiB8r8RNR9kgpW7xm6JdcKJWTP9iSWt4Vm68RhG9CxhY5g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":495282},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"6b08141f66870d28150448fcfb4ba3f8c4408d0f","scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/errors --external elysia && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run verify-package && bun run build && bun run verify-package --artifacts && bun run test","verify-package":"absolute-manifest verify-package"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"runtimePeers":{"elysia":{"range":">=1.4.29 <2","tested":"1.4.29","buildExternals":["elysia"],"artifactImports":["elysia"]}},"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/errors-elysia.git","type":"git"},"_npmVersion":"10.9.2","description":"Elysia error-boundary integration for @absolutejs/errors with exact-once capture, trace correlation, and safe handled responses.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"0.7.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"elysia":"1.4.29","prettier":"^3.8.3","@types/bun":"1.3.14","typescript":"^5.9.3","@absolutejs/errors":"0.6.1"},"peerDependencies":{"elysia":">=1.4.29 <2"},"_npmOperationalInternal":{"tmp":"tmp/errors-elysia_0.3.1_1784962319697_0.5750185124427409","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @absolutejs/errors/elysia. Install @absolutejs/errors and use errorsPlugin."}},"time":{"created":"2026-07-23T11:06:46.335Z","modified":"2026-07-31T04:08:03.598Z","0.1.0":"2026-07-23T11:06:46.733Z","0.1.1":"2026-07-23T11:08:28.558Z","0.1.2":"2026-07-23T11:15:14.167Z","0.2.0":"2026-07-24T00:11:39.124Z","0.2.1":"2026-07-24T00:23:20.261Z","0.3.0":"2026-07-24T17:31:02.166Z","0.3.1":"2026-07-25T06:51:59.868Z"},"bugs":{"url":"https://github.com/absolutejs/errors-elysia/issues"},"author":{"name":"Alex Kahn"},"license":"Apache-2.0","homepage":"https://github.com/absolutejs/errors-elysia","keywords":["absolutejs","elysia","errors","observability","middleware","sentry","tracing"],"repository":{"url":"git+https://github.com/absolutejs/errors-elysia.git","type":"git"},"description":"Elysia error-boundary integration for @absolutejs/errors with exact-once capture, trace correlation, and safe handled responses.","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"readme":"# `@absolutejs/errors-elysia`\n\nElysia error-boundary integration for\n[`@absolutejs/errors`](https://github.com/absolutejs/errors). It captures:\n\n- thrown server exceptions;\n- caught exceptions returned as sanitized 5xx responses; and\n- unexplained returned 5xx responses.\n\nEvery failure is recorded exactly once with its HTTP method, path, status, and a\ntrace id returned to the caller. Request and response bodies are never captured\nby default.\n\n## Install\n\n```sh\nbun add @absolutejs/errors @absolutejs/errors-elysia elysia\n```\n\n## Use\n\n```ts\nimport { createErrorTracker } from \"@absolutejs/errors\";\nimport { errorsElysia, handledError } from \"@absolutejs/errors-elysia\";\nimport { Elysia, status } from \"elysia\";\n\nconst errors = createErrorTracker({\n  environment: \"production\",\n  project: \"my-app\",\n  store,\n});\n\nconst app = new Elysia()\n  .use(\n    errorsElysia({\n      capture: errors.captureException,\n      context: ({ request }) => ({\n        tenant: request.headers.get(\"x-user-id\") ?? undefined,\n      }),\n    }),\n  )\n  .get(\"/report\", async () => {\n    try {\n      return await buildReport();\n    } catch (error) {\n      return handledError(\n        status(\"Internal Server Error\", \"Unable to build the report.\"),\n        error,\n      );\n    }\n  });\n```\n\nThe caller sees only `Unable to build the report.` The issue store receives the\noriginal exception and stack, correlated with the response's `x-trace-id`.\n\n## API\n\n### `errorsElysia(options)`\n\n```ts\ntype ErrorsElysiaOptions = {\n  capture: (error: unknown, context?: ErrorContext) => unknown;\n  context?: (\n    context: ErrorElysiaContext,\n  ) => ErrorContext | undefined | Promise<ErrorContext | undefined>;\n  captureReturned5xx?: boolean; // default true\n  minimumStatus?: number; // default 500\n  onCaptureError?: (error: unknown) => void;\n  traceHeader?: string | null; // default \"x-trace-id\"\n  traceId?: (context: ErrorElysiaContext) => string;\n};\n```\n\nThe plugin:\n\n1. generates a trace id at `onRequest` and writes it to the response;\n2. captures thrown server errors from `onError`;\n3. captures handled or unexplained 5xx responses from `onAfterResponse`;\n4. waits for the capture boundary to settle before the request lifecycle may\n   be frozen or recycled; and\n5. suppresses duplicate capture when an error traverses both hooks.\n\nCapture and context-resolution failures are isolated from the application\nresponse. Supply `onCaptureError` if that secondary observability failure needs\nan operational log.\n\n### `handledError(response, error)`\n\nAssociates the original caught exception with a sanitized object response\nwithout changing its serialized body:\n\n```ts\nreturn handledError(\n  status(500, { message: \"Something went wrong.\" }),\n  internalError,\n);\n```\n\nThe response must be an object. For application APIs, return Elysia's typed\n`status(...)` result so Eden retains the success and failure union. Native\n`Response` remains appropriate only at genuine Fetch-protocol, streaming,\nfile, HTML, or redirect boundaries.\n\n## Context and privacy\n\nThe adapter captures no headers, cookies, parameters, request bodies, or\nresponse bodies. Add only the application context needed for triage through the\n`context` resolver. Adapter-owned HTTP tags override resolver tags so method,\npath, status, and capture classification cannot drift.\n\n## License\n\nApache-2.0.\n","readmeFilename":"README.md"}