+1 for error handling! Just a couple of things:
23: You need to raise an object, not a class. Add '()' to the end of the line.
25: This statement actually triggers a TypeError. You cannot raise nothing. Please provide an instance of an exception to raise.
« Back to merge proposal
+1 for error handling! Just a couple of things:
23: You need to raise an object, not a class. Add '()' to the end of the line.
25: This statement actually triggers a TypeError. You cannot raise nothing. Please provide an instance of an exception to raise.