Making TypeScript Errors Actually Helpful
When building my own typesafe i18n library, TypeScript's default errors became hard to work with. I learned how to create custom error messages that tell you exactly what's wrong and how to fix it.
I'm a proud dad. I play badminton, do paragliding and make my own pasta. I enjoy building software on the web platform. Currently I build with TypeScript and Go for the German Airforce.
I organize the Munich TypeScript meetup.
And yeah, my last name is Assmann.
I write about what I think, learn, do.
When building my own typesafe i18n library, TypeScript's default errors became hard to work with. I learned how to create custom error messages that tell you exactly what's wrong and how to fix it.
AI agents are magic, but they are simpler than you think. Here’s how agentic automation works and how building for AI will make your software better for humans.
Make errors impossible to ignore by making them annoying: use sounds and alerts in development, send notifications in production. Catch client and server errors early and hold yourself accountable to fix them immediately.
What I have been cooking recently.
A classic quark cheesecake with a tender crust and custardy filling.
Fluffy, caramelized torn pancakes dotted with raisins and finished with powdered sugar.
Hand-rolled cavatelli tossed with zucchini and tomatoes in a bright basil sauce.