---
title: "Discussion on \"Better error handling with just two Union Types\" | Hashnode"
description: "Discussion on \"Better error handling with just two Union Types\". In previous posts I've covered my beef with error handling in some programming languages:\n\nWhy Go-style error handling is not great\nWhy TypeScript and Crystal have the best Union Types\n\nBut what can w"
url: "https://hashnode.com/posts/better-error-handling-with-just-two-union-types/6ade6eae486f70d75831352d"
---

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

Discussion

# [Better error handling with just two Union Types](https://dimagog.hashnode.dev/better-error-handling-with-just-two-union-types?utm_source=hashnode&utm_medium=feed)

In previous posts I've covered my beef with error handling in some programming languages: Why Go-style error handling is not great Why TypeScript and Crystal have the best Union Types But what can w

Oct 25 · 6 min read · dimagog.hashnode.dev  
Read the article

-   [#error-handling](https://hashnode.com/tag/error-handling)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)
-   [#zig](https://hashnode.com/tag/zig)
-   [#ziglang](https://hashnode.com/tag/ziglang)

## Written by

[Dmitry Kakurin](https://hashnode.com/@dimagog)

@dimagog · Seattle, USA

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
