BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

@leismore/unknown2error

v1.0.0npm· JavaScript

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

The verdict
Abandoned. Last published 4 years ago. No recent activity — look for a maintained alternative.
No recent activity — look for a maintained alternative.
Live from the npm registry · derived rules, not AI
How it scores
MaintenanceAbandoned
PopularityUnknown
SecurityClean
LicenseOther
DepsZero deps
Maintenance
Last published 4 years ago.
Popularity
Download count unavailable.
Security
No known advisories for this version (OSV).
License
AGPL-3.0-only
Dependencies
No runtime dependencies
Recent releases
  • 1.0.04 years ago