If I have an error in the program and want to stop the program at that point and throw an exception with my error message, how can I do that? I have been trying to figure this out online, but all I see is throwing an exception with the built in messages.
Thanks,
Arep