Docs on error handling.