{"_id":"@1ry/golike-errors","_rev":"8-e4d8de1034b2733cb024dfae51082329","name":"@1ry/golike-errors","dist-tags":{"latest":"1.1.6"},"versions":{"1.0.0":{"name":"@1ry/golike-errors","version":"1.0.0","keywords":["error-handling","typescript","typescript-library"],"author":{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"},"license":"MPL-2.0","_id":"@1ry/golike-errors@1.0.0","maintainers":[{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"}],"contributors":[{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"}],"homepage":"https://github.com/dozro/ts-golike-errors#readme","bugs":{"url":"https://github.com/dozro/ts-golike-errors/issues"},"dist":{"shasum":"7b69691dd311d07079c3b07986c7c14f050d0bc0","tarball":"https://registry.npmjs.org/@1ry/golike-errors/-/golike-errors-1.0.0.tgz","fileCount":6,"integrity":"sha512-lZdAyyVOY2Gm6C9Xawu/SkL1ndH+FBCrM32H22Gh2zsaPbkFfBMiHm4356j95EtRFWiE0hzj3GyVXK8UJzV5eQ==","signatures":[{"sig":"MEYCIQCm72s9nke1OVu5NB2UglttrQmrAQpLA7udzWzr5NeX5wIhAMPOOmQ6ag2NunMCQphpr2fpKPYozs76Hxq+nCkXZbm9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1ry%2fgolike-errors@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21291},"main":"./lib/index.js","types":"./lib/index.d.ts","config":{"commitizen":{"path":"./node_modules/@ryansonshine/cz-conventional-changelog"}},"engines":{"node":">=12.0"},"gitHead":"6f040daaa81bb6e5272799975b937c33baa459ee","release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"build","hidden":false,"section":"Dependencies and Other Build Updates"}]}}],"@semantic-release/npm","@semantic-release/github"],"branches":["main"]},"scripts":{"cm":"cz","lint":"eslint ./src/ --fix","build":"tsc --project tsconfig.build.json","clean":"rm -rf ./lib/","typecheck":"tsc --noEmit","semantic-release":"semantic-release"},"_npmUser":{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"},"repository":{"url":"git+https://github.com/dozro/ts-golike-errors.git","type":"git"},"_npmVersion":"10.8.2","description":"A simple wrapper to have go-like error handling","directories":{},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","prettier":"^2.8.8","lint-staged":"^13.3.0","semantic-release":"^21.1.2","eslint-plugin-node":"^11.1.0","eslint-config-prettier":"^8.10.2","eslint-plugin-prettier":"^3.4.1","@ryansonshine/commitizen":"^4.2.8","@typescript-eslint/parser":"^4.33.0","@typescript-eslint/eslint-plugin":"^4.33.0","@ryansonshine/cz-conventional-changelog":"^3.3.4","conventional-changelog-conventionalcommits":"^5.0.0"},"peerDependencies":{"typescript":"^4.9.5"},"_npmOperationalInternal":{"tmp":"tmp/golike-errors_1.0.0_1782672338162_0.11693327764154993","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@1ry/golike-errors","version":"1.0.1","keywords":["error-handling","typescript","typescript-library"],"author":{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"},"license":"MPL-2.0","_id":"@1ry/golike-errors@1.0.1","maintainers":[{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"}],"contributors":[{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"}],"homepage":"https://github.com/dozro/ts-golike-errors#readme","bugs":{"url":"https://github.com/dozro/ts-golike-errors/issues"},"dist":{"shasum":"cf252c41daf9a2c772f538365b86f50bc16edd19","tarball":"https://registry.npmjs.org/@1ry/golike-errors/-/golike-errors-1.0.1.tgz","fileCount":7,"integrity":"sha512-8y8p64TdupRGqkeT5YZfiwxhCbAE621H0HqdJfqJBcl0QuubVkNG8JR3Ib13MRtAcmu9N31N5yvkEG+Doz0xBA==","signatures":[{"sig":"MEUCIQCGEGeL9sHniCcDD9by9B+WlEA7mxYD3FBtln7nsmwdZAIgfPiCw/d4I0xOgIJ586Kej3C9Bhe6r3XMbtPudT9tGLk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1ry%2fgolike-errors@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22135},"main":"./lib/index.js","types":"./lib/index.d.ts","config":{"commitizen":{"path":"./node_modules/@ryansonshine/cz-conventional-changelog"}},"engines":{"node":">=12.0"},"gitHead":"5daec426a4d4f8299724fa1ef1c13d5d53541543","release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"build","hidden":false,"section":"Dependencies and Other Build Updates"}]}}],"@semantic-release/npm","@semantic-release/github"],"branches":["main"]},"scripts":{"cm":"cz","lint":"eslint ./src/ --fix","build":"tsc --project tsconfig.build.json","clean":"rm -rf ./lib/","typecheck":"tsc --noEmit","semantic-release":"semantic-release"},"_npmUser":{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"},"repository":{"url":"git+https://github.com/dozro/ts-golike-errors.git","type":"git"},"_npmVersion":"10.8.2","description":"A simple wrapper to have go-like error handling","directories":{},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","prettier":"^2.8.8","lint-staged":"^13.3.0","semantic-release":"^21.1.2","eslint-plugin-node":"^11.1.0","eslint-config-prettier":"^8.10.2","eslint-plugin-prettier":"^3.4.1","@ryansonshine/commitizen":"^4.2.8","@typescript-eslint/parser":"^4.33.0","@typescript-eslint/eslint-plugin":"^4.33.0","@ryansonshine/cz-conventional-changelog":"^3.3.4","conventional-changelog-conventionalcommits":"^5.0.0"},"peerDependencies":{"typescript":"^4.9.5"},"_npmOperationalInternal":{"tmp":"tmp/golike-errors_1.0.1_1782672705981_0.21689570779209522","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@1ry/golike-errors","version":"1.1.1","keywords":["error-handling","typescript","typescript-library"],"author":{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"},"license":"MPL-2.0","_id":"@1ry/golike-errors@1.1.1","maintainers":[{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"}],"contributors":[{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"}],"homepage":"https://github.com/dozro/ts-golike-errors#readme","bugs":{"url":"https://github.com/dozro/ts-golike-errors/issues"},"dist":{"shasum":"17ca1e717e35b12f12071cb81420624afe950adb","tarball":"https://registry.npmjs.org/@1ry/golike-errors/-/golike-errors-1.1.1.tgz","fileCount":13,"integrity":"sha512-JZBZm6rb5k0NccLJ49yLTt9fKUSH5sOlLMy06toa9iVa10OqgGpuW5lXau9C67sO0KiI+EswGb4irXxG21OuNQ==","signatures":[{"sig":"MEQCIE/A4aAEprwVfu2MzUNKDamCxl9grW923tLPs86FZ+k7AiABEfrwT/4d/zLzEL+iJASchy2aG67fZZ0VPfNqJnkkkA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1ry%2fgolike-errors@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32707},"main":"./lib/index.js","types":"./lib/index.d.ts","config":{"commitizen":{"path":"./node_modules/@ryansonshine/cz-conventional-changelog"}},"engines":{"node":">=12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"gitHead":"e251df5d2a9e24ecb1f7dfd157b21030dc5e67e1","release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"build","hidden":false,"section":"Dependencies and Other Build Updates"}]}}],"@semantic-release/npm","@semantic-release/github"],"branches":["main"]},"scripts":{"cm":"cz","lint":"eslint ./src/ --fix","build":"tsc --project tsconfig.build.json","clean":"rm -rf ./lib/","typecheck":"tsc --noEmit","semantic-release":"semantic-release"},"_npmUser":{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"},"repository":{"url":"git+https://github.com/dozro/ts-golike-errors.git","type":"git"},"_npmVersion":"10.8.2","description":"A simple wrapper to have go-like error handling","directories":{},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","vitest":"^4.1.9","prettier":"^2.8.8","ts-macros":"^2.6.2","lint-staged":"^13.3.0","ttypescript":"^1.5.15","semantic-release":"^21.1.2","eslint-plugin-node":"^11.1.0","eslint-config-prettier":"^8.10.2","eslint-plugin-prettier":"^3.4.1","@ryansonshine/commitizen":"^4.2.8","@typescript-eslint/parser":"^4.33.0","@typescript-eslint/eslint-plugin":"^4.33.0","@ryansonshine/cz-conventional-changelog":"^3.3.4","conventional-changelog-conventionalcommits":"^5.0.0"},"peerDependencies":{"typescript":"^4.9.5"},"_npmOperationalInternal":{"tmp":"tmp/golike-errors_1.1.1_1782722335157_0.8849247295933085","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@1ry/golike-errors","version":"1.1.2","keywords":["error-handling","typescript","typescript-library"],"author":{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"},"license":"MPL-2.0","_id":"@1ry/golike-errors@1.1.2","maintainers":[{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"}],"contributors":[{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"}],"homepage":"https://github.com/dozro/ts-golike-errors#readme","bugs":{"url":"https://github.com/dozro/ts-golike-errors/issues"},"dist":{"shasum":"1cbbdb5adc15f83cea8af6e2d3ff623e72decb04","tarball":"https://registry.npmjs.org/@1ry/golike-errors/-/golike-errors-1.1.2.tgz","fileCount":15,"integrity":"sha512-PavVbvre+jUDCDWTQqeqszhq9zkPnjXXUQj5FlZjDMyx4hxXs6CUi+ME9wt3YNZkXSCBJ0eqdWzlfFiV4TrrLw==","signatures":[{"sig":"MEUCID40Cz57B3U984Gv8MaXzBarNFiCGs7+/d9jqnxEN5nXAiEA1uQ/KZnb/kV1LqTTfRdcEno0y1FRRVKcbigEQ6N972I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1ry%2fgolike-errors@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33685},"main":"./lib/index.js","types":"./lib/index.d.ts","config":{"commitizen":{"path":"./node_modules/@ryansonshine/cz-conventional-changelog"}},"engines":{"node":">=12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"gitHead":"ac1a0c611058200b330ec70cd82049f63a90023b","release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"build","hidden":false,"section":"Dependencies and Other Build Updates"}]}}],"@semantic-release/npm","@semantic-release/github"],"branches":["main"]},"scripts":{"cm":"cz","lint":"eslint ./src/ --fix","build":"tsc --project tsconfig.build.json","clean":"rm -rf ./lib/","typecheck":"tsc --noEmit","semantic-release":"semantic-release"},"_npmUser":{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"},"repository":{"url":"git+https://github.com/dozro/ts-golike-errors.git","type":"git"},"_npmVersion":"10.8.2","description":"A simple wrapper to have go-like error handling","directories":{},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","vitest":"^4.1.9","prettier":"^2.8.8","ts-macros":"^2.6.2","lint-staged":"^13.3.0","ttypescript":"^1.5.15","semantic-release":"^21.1.2","eslint-plugin-node":"^11.1.0","eslint-config-prettier":"^8.10.2","eslint-plugin-prettier":"^3.4.1","@ryansonshine/commitizen":"^4.2.8","@typescript-eslint/parser":"^4.33.0","@typescript-eslint/eslint-plugin":"^4.33.0","@ryansonshine/cz-conventional-changelog":"^3.3.4","conventional-changelog-conventionalcommits":"^5.0.0"},"peerDependencies":{"unplugin":"^3.2.0","typescript":"^4.9.5"},"_npmOperationalInternal":{"tmp":"tmp/golike-errors_1.1.2_1782723043882_0.6510269880571855","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@1ry/golike-errors","version":"1.1.3","keywords":["error-handling","typescript","typescript-library"],"author":{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"},"license":"MPL-2.0","_id":"@1ry/golike-errors@1.1.3","maintainers":[{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"}],"contributors":[{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"}],"homepage":"https://github.com/dozro/ts-golike-errors#readme","bugs":{"url":"https://github.com/dozro/ts-golike-errors/issues"},"dist":{"shasum":"97321c780c288a50f7030165c790727fcdf41f44","tarball":"https://registry.npmjs.org/@1ry/golike-errors/-/golike-errors-1.1.3.tgz","fileCount":17,"integrity":"sha512-uPoLZx2WtZ9i/TzCScLZmW3OJjesMJeQmEFGoiOJRyD2v0TIPG6N3sxeXnTfRz3Z2dZWT9PneGg1MF7Z717Utg==","signatures":[{"sig":"MEUCIQDlr38mnQUYDEsm2xjf9nb5w5T3jPBQl871oYaRWeHmEQIgNCKq1vj/Hdo2nPJ0KQElqPUkMt9HONoduawoZ8iwGjo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1ry%2fgolike-errors@1.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35234},"main":"./lib/index.js","types":"./lib/index.d.ts","config":{"commitizen":{"path":"./node_modules/@ryansonshine/cz-conventional-changelog"}},"engines":{"node":">=12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"gitHead":"3cf864268c4075fec1a5f94169bb65ef012fb8e0","release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"build","hidden":false,"section":"Dependencies and Other Build Updates"}]}}],"@semantic-release/npm","@semantic-release/github"],"branches":["main"]},"scripts":{"cm":"cz","lint":"eslint ./src/ --fix","build":"tsc --project tsconfig.build.json","clean":"rm -rf ./lib/","typecheck":"tsc --noEmit","semantic-release":"semantic-release"},"_npmUser":{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"},"repository":{"url":"git+https://github.com/dozro/ts-golike-errors.git","type":"git"},"_npmVersion":"10.8.2","description":"A simple wrapper to have go-like error handling","directories":{},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","vitest":"^4.1.9","prettier":"^2.8.8","ts-macros":"^2.6.2","lint-staged":"^13.3.0","ttypescript":"^1.5.15","semantic-release":"^21.1.2","eslint-plugin-node":"^11.1.0","eslint-config-prettier":"^8.10.2","eslint-plugin-prettier":"^3.4.1","@ryansonshine/commitizen":"^4.2.8","@typescript-eslint/parser":"^4.33.0","@typescript-eslint/eslint-plugin":"^4.33.0","@ryansonshine/cz-conventional-changelog":"^3.3.4","conventional-changelog-conventionalcommits":"^5.0.0"},"peerDependencies":{"unplugin":"^3.2.0","typescript":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/golike-errors_1.1.3_1782738707267_0.06164465509426398","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@1ry/golike-errors","version":"1.1.4","keywords":["error-handling","typescript","typescript-library"],"author":{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"},"license":"MPL-2.0","_id":"@1ry/golike-errors@1.1.4","maintainers":[{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"}],"contributors":[{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"}],"homepage":"https://github.com/dozro/ts-golike-errors#readme","bugs":{"url":"https://github.com/dozro/ts-golike-errors/issues"},"dist":{"shasum":"f94d5a9d82c8a1d712edba6c8e8406cc7b6ca280","tarball":"https://registry.npmjs.org/@1ry/golike-errors/-/golike-errors-1.1.4.tgz","fileCount":17,"integrity":"sha512-i86KZgiozxoCWzXfQhrARRVNPYg3mNIdYHOsJ0OStZABMLNsss/tV9kPGD5udSbiDsWGFGyk2bP8ZPv0Ex8taQ==","signatures":[{"sig":"MEQCIEYNu+2DeUbrNDNtvBEgHwzEwBRIx/wOjefVu0HPFheGAiAuxtRVXYqaqffYF5h+SAGAdqeS2FTmmuwRGmw/bqAmUw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1ry%2fgolike-errors@1.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35401},"main":"./lib/index.js","types":"./lib/index.d.ts","config":{"commitizen":{"path":"./node_modules/@ryansonshine/cz-conventional-changelog"}},"engines":{"node":">=12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"gitHead":"defd2b26861293b4eab7e06625be7ca192b4e934","release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"build","hidden":false,"section":"Dependencies and Other Build Updates"}]}}],"@semantic-release/npm","@semantic-release/github"],"branches":["main"]},"scripts":{"cm":"cz","lint":"eslint ./src/ --fix","build":"tsc --project tsconfig.build.json","clean":"rm -rf ./lib/","typecheck":"tsc --noEmit","semantic-release":"semantic-release"},"_npmUser":{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"},"repository":{"url":"git+https://github.com/dozro/ts-golike-errors.git","type":"git"},"_npmVersion":"10.8.2","description":"A simple wrapper to have go-like error handling","directories":{},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","vitest":"^4.1.9","prettier":"^2.8.8","ts-macros":"^2.6.2","lint-staged":"^13.3.0","ttypescript":"^1.5.15","semantic-release":"^21.1.2","eslint-plugin-node":"^11.1.0","eslint-config-prettier":"^8.10.2","eslint-plugin-prettier":"^3.4.1","@ryansonshine/commitizen":"^4.2.8","@typescript-eslint/parser":"^4.33.0","@typescript-eslint/eslint-plugin":"^4.33.0","@ryansonshine/cz-conventional-changelog":"^3.3.4","conventional-changelog-conventionalcommits":"^5.0.0"},"peerDependencies":{"unplugin":"^3.2.0","typescript":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/golike-errors_1.1.4_1782739388479_0.43638067785031276","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@1ry/golike-errors","version":"1.1.5","keywords":["error-handling","typescript","typescript-library"],"author":{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"},"license":"MPL-2.0","_id":"@1ry/golike-errors@1.1.5","maintainers":[{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"}],"contributors":[{"url":"https://itsrye.dev","name":"Rye","email":"contact@itsrye.dev"}],"homepage":"https://github.com/dozro/ts-golike-errors#readme","bugs":{"url":"https://github.com/dozro/ts-golike-errors/issues"},"dist":{"shasum":"057e2140276a2d56f08e3a6d5192eef83bb00f14","tarball":"https://registry.npmjs.org/@1ry/golike-errors/-/golike-errors-1.1.5.tgz","fileCount":15,"integrity":"sha512-hnpXUuToiYw/Hkyr25y+JnGRLoKxcQaJ+8m71OtKdyONICWq7caERgwjBR0aOSaz8HYh6YD29TnJ6XeaKJqIFQ==","signatures":[{"sig":"MEQCIAbB8YVPKgVW6Z2xGyKMTC9qLMZ3i5BJ3lqpDKC5XoAmAiAbVmIcTqRZldx6Xfkzbar91hR1aONesGwRGrDH42sOjA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1ry%2fgolike-errors@1.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":34423},"main":"./lib/index.js","types":"./lib/index.d.ts","config":{"commitizen":{"path":"./node_modules/@ryansonshine/cz-conventional-changelog"}},"engines":{"node":">=12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"gitHead":"88c8a48ec2fe9794f7e42f4da3a974f1965b397d","release":{"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"build","hidden":false,"section":"Dependencies and Other Build Updates"}]}}],"@semantic-release/npm","@semantic-release/github"],"branches":["main"]},"scripts":{"cm":"cz","lint":"eslint ./src/ --fix","build":"tsc --project tsconfig.build.json","clean":"rm -rf ./lib/","typecheck":"tsc --noEmit","semantic-release":"semantic-release"},"_npmUser":{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"},"repository":{"url":"git+https://github.com/dozro/ts-golike-errors.git","type":"git"},"_npmVersion":"10.8.2","description":"A simple wrapper to have go-like error handling","directories":{},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","vitest":"^4.1.9","prettier":"^2.8.8","ts-macros":"^2.6.2","lint-staged":"^13.3.0","ttypescript":"^1.5.15","semantic-release":"^21.1.2","eslint-plugin-node":"^11.1.0","eslint-config-prettier":"^8.10.2","eslint-plugin-prettier":"^3.4.1","@ryansonshine/commitizen":"^4.2.8","@typescript-eslint/parser":"^4.33.0","@typescript-eslint/eslint-plugin":"^4.33.0","@ryansonshine/cz-conventional-changelog":"^3.3.4","conventional-changelog-conventionalcommits":"^5.0.0"},"peerDependencies":{"typescript":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/golike-errors_1.1.5_1782740034501_0.9307796873564098","host":"s3://npm-registry-packages-npm-production"}},"1.1.6":{"name":"@1ry/golike-errors","version":"1.1.6","description":"A simple wrapper to have go-like error handling","main":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"build":"tsc --project tsconfig.build.json","clean":"rm -rf ./lib/","cm":"cz","lint":"eslint ./src/ --fix","semantic-release":"semantic-release","typecheck":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/dozro/ts-golike-errors.git"},"license":"MPL-2.0","author":{"name":"Rye","email":"contact@itsrye.dev","url":"https://itsrye.dev"},"contributors":[{"name":"Rye","email":"contact@itsrye.dev","url":"https://itsrye.dev"}],"engines":{"node":">=12.0"},"keywords":["error-handling","typescript","typescript-library"],"bugs":{"url":"https://github.com/dozro/ts-golike-errors/issues"},"homepage":"https://github.com/dozro/ts-golike-errors#readme","devDependencies":{"@ryansonshine/commitizen":"^4.2.8","@ryansonshine/cz-conventional-changelog":"^3.3.4","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","conventional-changelog-conventionalcommits":"^5.0.0","eslint":"^7.32.0","eslint-config-prettier":"^8.10.2","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.4.1","lint-staged":"^13.3.0","prettier":"^2.8.8","semantic-release":"^21.1.2","ts-macros":"^2.6.2","ttypescript":"^1.5.15","vitest":"^4.1.9"},"peerDependencies":{"typescript":"^6.0.0 || ^5.0.0"},"config":{"commitizen":{"path":"./node_modules/@ryansonshine/cz-conventional-changelog"}},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"release":{"branches":["main"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"type":"build","scope":"deps","release":"patch"}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"build","section":"Dependencies and Other Build Updates","hidden":false}]}}],"@semantic-release/npm","@semantic-release/github"]},"_id":"@1ry/golike-errors@1.1.6","gitHead":"17dae139b410928040155c3d94ff923c9f5356e8","types":"./lib/index.d.ts","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-UZBDAZXxEeqvfP+ELsLbPv0U9t3maIxw9ETfZnEqf5bKYtezZwxL2KOASGg4M9M5yTcOY2oJFxpSCeutulYXbg==","shasum":"3834eacf5c982086f1b145ca7f62f952383e52d6","tarball":"https://registry.npmjs.org/@1ry/golike-errors/-/golike-errors-1.1.6.tgz","fileCount":15,"unpackedSize":34064,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1ry%2fgolike-errors@1.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB64+LMgdeoL2uwR7P5BlbjoKB3mpED81DsV3afDl0iOAiAvmcxzMWkXB61JmY04OEWtcfF3vHvIHmShzFbTHDGMsw=="}]},"_npmUser":{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"},"directories":{},"maintainers":[{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/golike-errors_1.1.6_1783413961745_0.9271854363779928"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-28T18:45:37.977Z","modified":"2026-07-07T08:46:02.222Z","1.0.0":"2026-06-28T18:45:38.305Z","1.0.1":"2026-06-28T18:51:46.105Z","1.1.1":"2026-06-29T08:38:55.301Z","1.1.2":"2026-06-29T08:50:44.018Z","1.1.3":"2026-06-29T13:11:47.449Z","1.1.4":"2026-06-29T13:23:08.618Z","1.1.5":"2026-06-29T13:33:54.679Z","1.1.6":"2026-07-07T08:46:01.894Z"},"bugs":{"url":"https://github.com/dozro/ts-golike-errors/issues"},"author":{"name":"Rye","email":"contact@itsrye.dev","url":"https://itsrye.dev"},"license":"MPL-2.0","homepage":"https://github.com/dozro/ts-golike-errors#readme","keywords":["error-handling","typescript","typescript-library"],"repository":{"type":"git","url":"git+https://github.com/dozro/ts-golike-errors.git"},"description":"A simple wrapper to have go-like error handling","contributors":[{"name":"Rye","email":"contact@itsrye.dev","url":"https://itsrye.dev"}],"maintainers":[{"name":"dozrye","email":"npmjs+dozrye@forward.mail.itsrye.uk"}],"readme":"# Go-like errors\n\na foolish approach to error handling utilizing typescript.\n\n## examples\n\n```typescript\nconst result: Result<number, string> = {\n   success: true,\n   data: 42,\n};\n\nif (result.success) {\n    // result is { success: true; data: number }\n    console.log(result.data);\n} else {\n    // result is { success: false; error: string }\n    console.error(result.error);\n}\n```\n\nor \n\n```typescript\ntype ParseError = {\n    code: \"INVALID_JSON\";\n    message: string;\n};\n\nfunction parseJson(text: string): Result<unknown, ParseError> {\n    try {\n        return {\n            success: true,\n            data: JSON.parse(text),\n        };\n    } catch {\n        return {\n            success: false,\n            error: {\n                code: \"INVALID_JSON\",\n                message: \"Failed to parse JSON.\",\n            },\n        };\n    }\n }\n```\n","readmeFilename":"README.md"}