4 Repositories
JavaScript exceptions Libraries
A fully type-safe and lightweight way of using exceptions instead of throwing errors
🛡️ exceptionally A fully type-safe and lightweight way of using exceptions instead of throwing errors 🦺 fully typesafe 🐤 lightweight (209 bytes) 🏃
Jan 4, 2023
⛑️ JSON serialization should never fail
⛑️ JSON serialization should never fail. Features Prevent JSON.serialize() from: Throwing Changing types Filtering or transforming values unexpectedly
Dec 15, 2022
Polyfill `error.cause`
Polyfill error.cause. error.cause is a recent JavaScript feature to wrap errors. try { doSomething() } catch (cause) { throw new Error('message',
Dec 15, 2022
Handle errors like it's 2022 🔮
Handle errors like it's 2022 🔮 Error handling framework that is minimalist yet featureful. Features Minimalist API Custom error types Wrap any error'
Jan 7, 2023