Is there a way to stop the compile process through the use of a command? Something like:
Code: Select all
\exception{This is a user-set exception. Compile halted.}
The reason I want to do something like this is I want to have a conditional statement that checks a user-defined parameter. If the parameter is outside a desired range, I want the user to be informed that they made a bad choice and should change it.
Thanks in advance.