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

What you're thinking of is the default handler (because if you wrote a handler, it would be your code returning things).

The default handler will populate the last element of the return list with the error, and return.

The other elements get zeroes, if not named, or they are unchanged from how they have already been set, if named.



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

Search: