Create error-handling.md

@nathanleiby To add some final comments and tweaks, other opinions welcome.