~/talk

TypeScript Without Surprises: Smarter Error Handling with Effect-TS

Talkat NodeTLV 2025 · on Tuesday, 2025-12-16· [typescript, nodejs]
name:Nir Tamir
links:none on file
slides:none on file

Effect-TS makes errors part of function types so failures are visible: code uses effect.gen generators, effect.fail/effect.succeed values and runtime via runSync/runPromise, with typed recovery using effect.catchTag. Examples show tracking network, validation and DB errors rather than unknown exceptions, composing timeouts and retries (including exponential backoff), and turning an ad-hoc 3-stripe-error surface into 17 explicit error cases that can be handled, recovered, or retried, reducing hidden failures and improving safety.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Limitations of TypeScript errors
  3. 4:25Introducing Effect-TS
  4. 6:13Defining errors with Effect
  5. 8:41Handling multiple errors
  6. 10:47Key benefits of Effect
  7. 13:19Real-world impact and takeaways
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.