Finished the resume feature

Issue #24.
Raise a more appropriate Error: https://docs.python.org/2/library/exceptions.html