Y
Hacker News
new
|
ask
|
show
|
jobs
by
Measter
2180 days ago
That's an API choice. There's no technical reason at all why you couldn't return some kind of error AND read data if you wanted, you'd just have to make your Error type a product type.