MDN Web Docs @developer.mozilla.org Β· May 6

Better error chaining is finally in JavaScript πŸ”— `Error.cause` lets you attach the original error when rethrowing, keeping full context without losing the stack. Learn more πŸ‘‡ developer.mozilla.org/en-US/docs/...

72 likes 2 replies

?

Replies

Joshua Ward | ✝️ | NO AI | Rust! | Simple is better · May 6

who would want to explicitly cause errors when you can just hide them under the rug and blame them on your rubber duck?

Alice Roberts Β· May 6

Wondering how many more decades we’re going to spend perfuming this JS piece of πŸ’© instead of introducing or adapting something reasonable.