Lightweight xplatform nested error implementation with native TypeScript support.
MIT License
λ "Functions all the way down" data validation for JavaScript and TypeScript.
A lightweight JSON RPC client & server
💥 It helps to know Y you got an HTTPError
Tries to execute a sync/async function, returns a specified default value if the function throws
Deal with code that can throw
☠️ Serialise errors to literal (JSONable) object
A type-safe way to work with error (Haskell's Either | Rust's Result)
A better way to handle errors. Both data and errors are declared with const, available at the top...
Make your own nested errors
🚨 It helps to know Y you got an Error.
🦋 A simple Promise to [error, data] catcher.
Custom errors for HTTP status codes.
A React hook for error boundaries in function components
Type-Safe Errors for JS & TypeScript
> Serialize/deserialize an error into a plain object in commonjs