---
title: "Discussion on \"A declarative approach to error handling in Typescript\" | Hashnode"
description: "Discussion on \"A declarative approach to error handling in Typescript\". Wrap your head around the Result monad."
url: "https://hashnode.com/posts/a-declarative-approach-to-error-handling-in-typescript/62df1e0f790e138f3d397a2b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A declarative approach to error handling in Typescript](https://kkalamarski.me/a-declarative-approach-to-error-handling-in-typescript?utm_source=hashnode&utm_medium=feed)

Wrap your head around the Result monad.

Jul 25, 2022 · 7 min read · kkalamarski.me  
Read the article

-   [#declarative](https://hashnode.com/tag/declarative)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Krzysztof Kałamarski](https://hashnode.com/@kkalamarski)

@kkalamarski · Wrocław, Poland

  
[View profile](https://hashnode.com/@kkalamarski)

Fullstack Javascript Developer @ Exlabs

🚀 CTO &amp; Co-founder at Techfinity Studio — AI-driven software studio 👨‍💻 Full-stack developer, technical leader For the past 11 years, I’ve been building modern software solutions — today as the CTO and co-founder of Techfinity Studio, where we help companies build smart, efficient, and secure digital products. We use the right mix of technologies — from custom software to AI-driven solutions and low-code platforms — to deliver real business value. 💡 Key areas of expertise: • TypeScript, React, Next.js, Node.js, NestJS • AI integration &amp; AI-driven apps • Security-first architecture • Functional Programming I’m passionate about building great software and helping organizations navigate the rapidly evolving tech landscape. Outside of work, I enjoy ♟️ playing chess and exploring the intersection of technology and creativity. 🌍 I work in an international environment. Languages: 🇵🇱 Polish (native) 🇬🇧 English (fluent) 🇪🇸 Spanish (fluent) 🇵🇹 Portuguese (good) 🇧🇬 Bulgarian (communicative) 🤝 If you’d like to connect to discuss: • building modern digital products • applying AI where it makes sense • designing secure and scalable architecture • or simply exchange ideas on technology Feel free to reach out!

## Responses 1

Markdown supported · ⌘↵ to post

[Mark Andrews](https://hashnode.com/@mandrews)

[Jul 26, 2022](https://hashnode.com/posts/a-declarative-approach-to-error-handling-in-typescript/62df1e0f790e138f3d397a2b/comment/62dfdee1790e138f3d399643)

Rust is using exactly the same approach - very nice read, thanks!
