Y
Hacker News
new
|
ask
|
show
|
jobs
by
mixedCase
3519 days ago
The return type would still be the error interface. If you want more information than the error interface you can just use a type switch/assertion.