syhner / betterr Goto Github PK
View Code? Open in Web Editor NEWA better way to handle errors. Both data and errors are declared with const, available at the top level, and non-nullable (once the other is handled). Errors are always Error objects.
Home Page: https://www.npmjs.com/package/betterr
License: MIT License