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

Look at Node.js, where exceptions don't necessarily travel up written code, begetting the convention of passing an error object, similar to what the OP proposes.

I don't like it, I don't think anyone particularly likes it. It makes you miss exceptions.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: