Create error-handling.md

@nathanleiby To add some final comments and tweaks, other opinions welcome. 
this is a private link, so we should probably replace this with a link to a public version of this comment. maybe a blog post?