Please raise a RuntimeError exception.
raise RuntimeError("something wrong")
The code raises a RuntimeError
exception with the message "something wrong". When this exception is raised, the program execution stops and an error message is displayed.