Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox@programming.dev to TypeScript@programming.devEnglish · 28 days ago

Errors Deserve Better

ifandelse.com

external-link
message-square
0
link
fedilink
8
external-link

Errors Deserve Better

ifandelse.com

codeinabox@programming.dev to TypeScript@programming.devEnglish · 28 days ago
message-square
0
link
fedilink
Errors Deserve Better | if(and)else
ifandelse.com
external-link
TypeScript treats `catch (e)` as `unknown`, so odds are your codebase has hidden and unhandled error paths. better-result puts every failure mode back in the function signature, and lets each one get the response it actually deserves.
alert-triangle
You must log in or # to comment.

TypeScript@programming.dev

typescript@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !typescript@programming.dev
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 7 users / day
  • 25 users / week
  • 35 users / month
  • 100 users / 6 months
  • 1 local subscriber
  • 1.1K subscribers
  • 110 Posts
  • 24 Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • BE: 0.19.18
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org