Michael Hu
Implement comprehensive error handling
6613cd9