try except raise
By Jake Maggio at Apr 10 2021
try: if '1' != 1: raise "someError" else: print("someError has not occurred") except "someError": print ("someError has occurred")
By mohamed abu assi at Nov 08 2020