Project

unwrapit

A TypeScript Result-style library for treating thrown errors as values.

Writing angle

A practical story about designing APIs where failure is explicit without making business code noisy.

Interactive demo

inline

A Result playground that compares try/catch, Promise.catch, and Result matching for the same failing operation.

unwrapit

Result playground

The same failure modeled as thrown control flow or as a typed value.

try/catch

 

Promise.catch

 

Result