An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

@leismore/unknown2error

The function converts anything into an object of Error (or subclasses) class. If `error` is an object of Error (or subclasses) class, it returns the original `error` object. With any other type, it will convert it into a string first and then an Error obj

Ecosystem
npmjs.org
Latest Release
1.0.0
about 4 years ago
Versions
1
Downloads
5 last month
Dependent Packages
2
Dependent Repos
3
Links
Registry npmjs.org
Source Repository
Homepage Homepage
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:npm/%40leismore/unknown2error
spec
License AGPL-3.0-only
Namespace leismore
First Release about 4 years ago
Last Synced 18 days ago
Repository
Stars 0 on GitHub
Forks 0 on GitHub
Rankings on npmjs.org
Dependent packages Top 8.8%
Dependent repos Top 6.4%