Enhance exception handling
Add specs
Fix english
Merge pull request #114 from AI-comp/exception_handling

Exception handling