This issue is too large, and has been fixed by separate issues. Please open new issues in case of missing error handling.