Python Raise Error And Stop Execution