wireleaf

programming.typescript

Idiomatic error handling in TypeScript?

silver-birch-6

Be gentle, I'm new here.

This came up at work last week and I couldn't let it go.

gentle-otter-281 more

Counterpoint: it depends a lot on how much time you have.

Reply
slow-finch-70

gentle-otter-28 wrote:

Counterpoint: it depends a lot on how much time you have.

The official docs are better than they look.

Reply
woven-yarrow-97

Careful with that advice, it doesn't work for everyone.

Reply
bright-moth-62

The official docs are better than they look.

Reply
dusky-alder-1

Nothing beats doing it badly a few times.

Reply
amber-pine-68

Nothing beats doing it badly a few times.

Reply
tidal-yarrow-73

That's fair. I hadn't looked at it that way.

Reply
sunlit-beech-9910 more

Saving this for later.

Reply
late-sedge-479 more

This is the most useful reply in the thread.

Reply
amber-beech-545 more

late-sedge-47 wrote:

This is the most useful reply in the thread.

Good question, following.

Reply
slow-yarrow-17

I went down the same road and ended up somewhere completely different.

Reply
bright-alder-242 more

The cheap option was fine for years.

Reply
wry-moth-9

bright-alder-24 wrote:

The cheap option was fine for years.

Could you share a photo?

Reply
misty-thistle-48

The cheap option was fine for years.

Reply
still-lichen-17

Nothing beats doing it badly a few times.

Reply
still-clover-77

Strong disagree, but thanks for writing it up.

Reply
wild-sedge-52

late-sedge-47 wrote:

This is the most useful reply in the thread.

Have you tried asking in the local group too?

Reply
woven-yarrow-74

late-sedge-47 wrote:

This is the most useful reply in the thread.

Small correction, but the point stands.

Reply
tidal-wren-27

Careful with that advice, it doesn't work for everyone.

Reply
rustling-willow-582 more

This is the most useful reply in the thread.

Reply
dusky-yarrow-721 more

I asked the same thing a year ago, the answers here helped a lot.

Reply
dusky-sparrow-74

dusky-yarrow-72 wrote:

I asked the same thing a year ago, the answers here helped a lot.

Good question, following.

Reply