raise Exception("Error")
try: # Your code here except: raise Exception("ERROR: Some specific Error Message")
#Best practive: raise statement raise ValueError('A very specific bad thing happened')