Describe error handling in documentation