OPEN - task 64: Put error handling in Python 
http://github.com/antareja/surabi/issues/issue/64