es-shims / error-cause Star 18 Code Issues Pull requests An ES-spec-compliant shim/polyfill/replacement for the `.cause` property on all Error types that works as far down as ES3 javascript polyfill ecmascript error shim syntaxerror typeerror referenceerror aggregateerror rangeerror evalerror urierror Updated Sep 12, 2025 JavaScript
ljharb / es-errors Sponsor Star 10 Code Issues Pull requests A simple cache for a few of the JS Error constructors. javascript ecmascript error syntaxerror typeerror rangeerror Updated Mar 9, 2024 JavaScript
stdlib-js / assert-is-type-error Sponsor Star 2 Code Issues Pull requests Test if a value is a TypeError object. nodejs javascript utility node utilities is utils stdlib exception util error assert node-js assertion typeerror valid err isvalid iserr iserror Updated Sep 8, 2025 JavaScript
nash403 / get-safe Star 2 Code Issues Pull requests Safe access to nested properties in JS objects without getting a TypeError but undefined instead. access nested-properties typeerror js-objects Updated Nov 18, 2017 JavaScript