try: print("I will try to print this line of code") except ERROR_NAME: print(f"I will print this line of code if error {ERROR_NAME} is encountered")