error-object-polyfill

Replace your lame string errors with object versions.

Browse on unpkg