Add Error handling section to docs