@leismore/unknown2error
AGPL-3.0-onlyThe 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
85
Security score
0 known advisories in v1.0.0
Weekly downloads
—
Unpacked size
37.7 kB
Dependencies
0
Last publish
4 years ago
Security advisories
No known vulnerabilities affect v1.0.0.