Hacker News new | past | comments | ask | show | jobs | submit login

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: