@theorylabs/better-error
Give me JavaScript's native Error Object. I decorate it with a lil' panash. Then, send it back your way without breaking any weird JavaScripty rules/expectations we all are so fond of. Throw it. Return it. Dance with it. Whatever you do, common convention
Usage no npm install needed!
<script type="module">
import theorylabsBetterError from 'https://cdn.skypack.dev/@theorylabs/better-error';
</script>