---
title: "Discussion on \"Typed Errors in TypeScript: The Options, the Tradeoffs, and the Missing Middle\" | Hashnode"
description: "Discussion on \"Typed Errors in TypeScript: The Options, the Tradeoffs, and the Missing Middle\". TypeScript models success as data. It does not model failure as data."
url: "https://hashnode.com/posts/typed-errors-typescript-missing-middle/69a381d1a7428b958d5f25b0"
---

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

Discussion

# [Typed Errors in TypeScript: The Options, the Tradeoffs, and the Missing Middle](https://railway-ts-pipelines.hashnode.dev/typed-errors-typescript-missing-middle?utm_source=hashnode&utm_medium=feed)

TypeScript models success as data. It does not model failure as data.

Mar 1 · 8 min read · railway-ts-pipelines.hashnode.dev  
Read the article

-   [#functional-programming](https://hashnode.com/tag/functional-programming)
-   [#effect-ts](https://hashnode.com/tag/effect-ts)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#etl-pipeline](https://hashnode.com/tag/etl-pipeline)
-   [#error-handling](https://hashnode.com/tag/error-handling)
-   [#railway-oriented-programming](https://hashnode.com/tag/railway-oriented-programming)

## Written by

[Sarkis M](https://hashnode.com/@sakobu)

@sakobu · Austin, USA

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

I point spacecraft and compose pipelines. Background in orbital mechanics, and the kind of math that makes things not crash

I work at the intersection of astrodynamics and software engineering - building spacecraft operations software at True Anomaly and maintaining open-source tooling (@railway-ts/pipelines, @railway-ts/use-form). Rust, TypeScript, React, functional patterns. Domain is space domain awareness and proximity operations.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
