Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Panics can be values and errors don't have to be values in go?

I think you are missing up concepts here



I’m not talking about the underlying model, I’m talking about the control flow. What I mean is errors are explicit values belonging to the signature of the functions.




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

Search: